|
|
Simple game you wish had undo
|
|
|
|
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status:
Offline
|
|
I teach AP Comp Sci at my high school, and one of the next topics we're covering are stacks, which are very useful for undoing operations in programs. I want them to have a little fun with the topic, so I was going to have them write a game with simple undo support.
So here comes the question - what (simple) game do you wish had undo support? A basic example would be Solitaire, but I'm looking for something more interesting.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2001
Location: Umbrella Research Center
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Banned
Join Date: Nov 2005
Location: Beer and Cheese land
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Jan 2001
Location: Australia
Status:
Offline
|
|
I,like that Magic bean game, they used to have on old Nokia's, the one when you count beans into pots and the last bean has to be in your pot, I got really good at it.
It quite a famous old game and very addictive.
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status:
Offline
|
|
Connect Four is interesting, simple, and an undo would be nice.
Tic-tac-toe might be too simple, depending on the class's skill level.
Writing an AI for checkers is non-simple, but a two-player checkers might be reasonable.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status:
Offline
|
|
Lights Out might be a good one too...
|
|
|
|
|
|
|
|
|
hayesk
|
|
Originally Posted by Ghoser777
I teach AP Comp Sci at my high school, and one of the next topics we're covering are stacks, which are very useful for undoing operations in programs. I want them to have a little fun with the topic, so I was going to have them write a game with simple undo support.
So here comes the question - what (simple) game do you wish had undo support? A basic example would be Solitaire, but I'm looking for something more interesting.
Towers of Hanoi
Undo support, and makes effective use of stacks.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status:
Offline
|
|
Yeah, I thought of that one too... maybe Atomica even.
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status:
Offline
|
|
Towers of Hanoi is a classic recursion example, so if you are going to teach recursion later, you might want to save Hanoi for that...
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2004
Location: Neither Here Nor There
Status:
Offline
|
|
For my computing 1 class, we have to sort { ( [ ] ) } using a stack. It is very gay.
Either way, use the Towers of Hanoi, it should be easy.
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Jul 2005
Location: Cooperstown '09
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status:
Offline
|
|
Albert: sort, or verify proper nesting?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Mar 2005
Location: LV-426
Status:
Offline
|
|
|
“Building Better Worlds”
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2004
Location: Neither Here Nor There
Status:
Offline
|
|
Originally Posted by Tesseract
Albert: sort, or verify proper nesting?
proper nesting.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2001
Location: Up north
Status:
Offline
|
|
How about soduko? It would be simple to do. Maybe give them the algorithms for creating the boards though.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status:
Offline
|
|
For our computer club two students are only working on soduko and lights out, so I don't want to overlap with their work (yes, lights out was my idea).
I think I'm going to go with towers. I have the basic GUI set up for them, all they'll have to do is the Stack work.
Thanks everyone!
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Jul 2005
Location: Winnipeg, MB
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status:
Offline
|
|
Originally Posted by Salty
Risk
He said simple.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status:
Offline
|
|
Risk isn't locally hard - the actual logic is pretty simple. The tricky part is working with the world map and the graphics that goes with that. It's definitely doable... but for me its not worth it. It's a great idea for one of my ap students to do for the heck of it (or for their end of the year project).
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status:
Offline
|
|
Originally Posted by Ghoser777
Risk isn't locally hard - the actual logic is pretty simple. The tricky part is working with the world map and the graphics that goes with that. It's definitely doable... but for me its not worth it. It's a great idea for one of my ap students to do for the heck of it (or for their end of the year project).
A multiplayer risk wouldn't be too bad.
For some reason I thought Salty meant an AI for it - maybe not as hard as go, but probably at least as hard as chess.
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Oct 2002
Location: Washington, DC
Status:
Offline
|
|
I've never actually seen a computer game for it, but maybe Kalah (Mancala)?
|
"One ticket to Washington, please. I have a date with destiny."
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Jun 2000
Location: Union County, NJ
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2003
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|