Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Pythia - Python programming game  (Read 2223 times)

Osthekake

  • Escaped Lunatic
    • View Profile
Pythia - Python programming game
« on: June 18, 2011, 06:42:37 pm »

I was told that this forum had the kind of people on it who might be interested in our Python programming game.
This game is the product of our master project. It is designed to be part of a university course that teaches basic programming.
As a game it is slightly unrefined, and not very long, but we would really need some feedback that we can write about it in our report ;)

Link here:
http://master2011.org/questions/index.jsp
We make new releases every now and then, without warning, so any problems you might have might be fixed later on. At the moment we are running out of time though, so we will be focusing less on actual development. Maybe we will pick it up again after we deliver, however.

Try it out and let us know what you think! :)
Logged

olemars

  • Bay Watcher
    • View Profile
Re: Pythia - Python programming game
« Reply #1 on: June 19, 2011, 11:44:48 am »

When I hit F1 or F2 (or click with the mouse) on the main menu the application just quits on me quietly. F3 pops up an (empty) credits window. The basic idea seems good though, wish I had gone along a similar route on my master's thesis.

Og lykke til med oppgaven fra en tidligere NTNU-student (fysmat for min del) ;)
Logged

Osthekake

  • Escaped Lunatic
    • View Profile
Re: Pythia - Python programming game
« Reply #2 on: June 19, 2011, 12:17:40 pm »

If it's not too much trouble, could we have you try the new version, running in a console with the debug option? (java -jar pythia.jar -d)
And then post the stacktrace when it fails. Information on your system might also help.

NTNU 4eva! <3
Logged

zeet

  • Bay Watcher
  • Programming lunatic.
    • View Profile
Re: Pythia - Python programming game
« Reply #3 on: June 19, 2011, 01:19:17 pm »

Hello there.

I played through the game, it was actually really fun. With a little more refinement it could actually be an amazing learning tool I believe, it's actually weird no one has made anything like this before.

Some things tho:
The level where you have to write "Hello World" to the console, the level objectives state you have to write "Hello World!", you might want to change that.

The  introduction to recursion (Binary search level) was perhaps a little rough, a little more explanation and not just a hint would be awesome.

The sorting level is bugged, you can actually complete it by just typing in:
Code: [Select]
def cheat():
    for I in range(0,10)
        array[I] = 5
cheat()
or editing the array manually.

Other than that, keep up the good work!


Logged

Osthekake

  • Escaped Lunatic
    • View Profile
Re: Pythia - Python programming game
« Reply #4 on: June 19, 2011, 02:32:32 pm »

Hey, thanks for the feedback. The hello world thing has been fixed. The regex now allows 0 or 1 !s :)
We know that the learning curve is rather steep, but we simply don't have time to make all those levels. Besides, there's google, and people learning programming need to learn to look things up on the internet aswell. That's my opinion anyway.

The binary search level is intended as an introduction to if. it is solveable without recursion:
Code: [Select]
import math
def main():
 next=50
 adjustment = 50
 for g in range(7):
  print "guessing " + str(next)
  back = guess(next)
  adjustment = math.ceil(adjustment / 2)
  if back == 0:
   return
  if back < 0:
   next = next + adjustment
  if back > 0:
   next = next - adjustment
reset()
main()
Your feedback is taken into account, however.

On the sorting level we just got lazy. It was mostly a proof of concept anyway.

However, if you, and any others who try our game, go to
http://master2011.org/questions/questions.jsp
and answer the questions, we will be even more grateful. :)
Logged

olemars

  • Bay Watcher
    • View Profile
Re: Pythia - Python programming game
« Reply #5 on: June 19, 2011, 02:55:58 pm »

Heh heh, it actually worked when I ran it through a console. Looks like I shouldn't have been lazy and started it directly from firefox.

Looks good apart from the window being slightly taller than the shitty resolution my laptop can handle (1366x768 - taskbar and window decorations). Will play around with it for a bit.
Logged

zeet

  • Bay Watcher
  • Programming lunatic.
    • View Profile
Re: Pythia - Python programming game
« Reply #6 on: June 19, 2011, 03:25:11 pm »

I answered your questions and left my email, I really want to see this in use in class, I think it could ease people into the world of programming a LOT easier.
But I have to admit, I am no shark in python, so I can probably not offer more than occasional testing.
Logged