From 2b70f37fbd9eba4413dbb80351104aa9b6f3ea66 Mon Sep 17 00:00:00 2001 From: Assim Deodia Date: Thu, 03 Jul 2008 16:50:55 +0000 Subject: LaS init function modified --- (limited to 'ls.py') diff --git a/ls.py b/ls.py index 52b0a34..ce0521c 100644 --- a/ls.py +++ b/ls.py @@ -106,7 +106,7 @@ def get_skill_level(): if __name__=='__main__': - las = Listenspell() + las = Listenspell("dict.db") las.clear_screen() las.play_sound("begin") @@ -131,7 +131,7 @@ if __name__=='__main__': ## print pronouncelist wordid = wordidlist[index] result = play_word(wordid) - print "Your score is " + str(las.getpoints()) + print "Your score is " + str(las.get_points()) if result == True: if las.get_words_correct == 7: @@ -149,5 +149,4 @@ if __name__=='__main__': gameover = True las.say_text("Game Over") print "Game Over." - las.exit_game() - + las.exit_game() \ No newline at end of file -- cgit v0.9.1