This site requires JavaScript, please enable it in your browser!
Greenfoot back
Aspire_Seven
Aspire_Seven wrote ...

2014/3/17

How to set up an educational Pac-Man game

Aspire_Seven Aspire_Seven

2014/3/17

#
HI, i have to make an educational game for a project at college and it has to be educational and aimed at 7 year olds. My idea was a pac-man game and that when you get caught by a ghost you must answer a maths question that will pop-up on the screen. If you answer correctly, you escape the ghost and may continue, if you answer wrong, you lose the game. You only have one life and the maths questions can either be multiple choice or you type a number in a text box. Does anyone know how or if i can do this? What code would need to be added to a regular pac-man game? If i can't make the game like this, what other ways could i make a pac-man game educational? Thanks! =)
danpost danpost

2014/3/17

#
Because you will probably want all actors to freeze when the question is being posed and answered, it might be best to use a separate world for the question/answer portion of the scenario. Just call it into being when Pac-Mac intersects a ghost, passing the Pac-Man world to it (so it can return back to this world if the answer was correct).
Herko Herko

2014/3/17

#
Have multiple ghosts with number's and numerical sign's on it, To collect all of the Ghosts and then to proceed. For example You called a number up, Like 8... One ghost could have 5 and another 3, Or one could have 2 and another 6 so you can do either way. So it would open them up to using different numbers to calculate to a number which is given to them. :)
Herko Herko

2014/3/17

#
I actually created a game like pac-man, It was called mr sac man, Search it if you would like :)
Herko Herko

2014/3/17

#
Or here :) http://www.greenfoot.org/search?query=mr+sac+man&commit=
Aspire_Seven Aspire_Seven

2014/3/17

#
Thanks for the replies! Very helpful. I might make another world that asks the questions or I might even try the ghost numbers idea. I'll look into it some more for the next month till I have to make it. Thanks again for the fast responses! =)
Aspire_Seven Aspire_Seven

2014/3/17

#
Ok, I'll have a look at that when I have a minute. Thanks!
danpost danpost

2014/3/17

#
My Pac-Man clone is here (it is called 'Pakman') and its source code is published.
You need to login to post a reply.