Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > MacNN Lounge > Simple game you wish had undo

Simple game you wish had undo
Thread Tools
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Nov 13, 2005, 05:24 PM
 
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
Reply With Quote
Nov 13, 2005, 05:25 PM
 
life
     
Banned
Join Date: Nov 2005
Location: Beer and Cheese land
Status: Offline
Reply With Quote
Nov 13, 2005, 05:29 PM
 
Quake 3.
     
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Nov 13, 2005, 05:31 PM
 
Oh boy...
     
Professional Poster
Join Date: Jan 2001
Location: Between Sydney and Melbourne
Status: Offline
Reply With Quote
Nov 13, 2005, 05:32 PM
 
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: case.edu
Status: Offline
Reply With Quote
Nov 13, 2005, 05:38 PM
 
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.

pb 1440x960 | 1.67, 1.5, 128, 80 | leopard
     
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Nov 13, 2005, 05:40 PM
 
Lights Out might be a good one too...
     
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status: Offline
Reply With Quote
Nov 13, 2005, 06:43 PM
 
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
Reply With Quote
Nov 13, 2005, 06:48 PM
 
Yeah, I thought of that one too... maybe Atomica even.
     
Grizzled Veteran
Join Date: Apr 2002
Location: case.edu
Status: Offline
Reply With Quote
Nov 13, 2005, 07:21 PM
 
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...

pb 1440x960 | 1.67, 1.5, 128, 80 | leopard
     
Mac Elite
Join Date: Oct 2004
Location: Neither Here Nor There
Status: Offline
Reply With Quote
Nov 13, 2005, 08:00 PM
 
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
Reply With Quote
Nov 13, 2005, 08:04 PM
 
War.
     
Grizzled Veteran
Join Date: Apr 2002
Location: case.edu
Status: Offline
Reply With Quote
Nov 13, 2005, 08:06 PM
 
Albert: sort, or verify proper nesting?

pb 1440x960 | 1.67, 1.5, 128, 80 | leopard
     
Mac Elite
Join Date: Mar 2005
Location: LV-426
Status: Offline
Reply With Quote
Nov 13, 2005, 08:23 PM
 
Tetris

cheers

W-Y

“Building Better Worlds”
     
Mac Elite
Join Date: Oct 2004
Location: Neither Here Nor There
Status: Offline
Reply With Quote
Nov 13, 2005, 08:29 PM
 
Originally Posted by Tesseract
Albert: sort, or verify proper nesting?
proper nesting.
     
Mac Elite
Join Date: May 2001
Location: Up north
Status: Offline
Reply With Quote
Nov 13, 2005, 08:32 PM
 
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
Reply With Quote
Nov 13, 2005, 08:58 PM
 
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
Reply With Quote
Nov 13, 2005, 10:20 PM
 
Risk
     
Grizzled Veteran
Join Date: Apr 2002
Location: case.edu
Status: Offline
Reply With Quote
Nov 13, 2005, 10:29 PM
 
Originally Posted by Salty
Risk
He said simple.

pb 1440x960 | 1.67, 1.5, 128, 80 | leopard
     
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Nov 13, 2005, 10:34 PM
 
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: case.edu
Status: Offline
Reply With Quote
Nov 13, 2005, 10:47 PM
 
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.

pb 1440x960 | 1.67, 1.5, 128, 80 | leopard
     
Addicted to MacNN
Join Date: Oct 2002
Location: Washington, DC
Status: Offline
Reply With Quote
Nov 13, 2005, 11:20 PM
 
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."
     
Posting Junkie
Join Date: Jun 2000
Location: Union County, NJ
Status: Offline
Reply With Quote
Nov 14, 2005, 07:42 AM
 
Chess (duh)
     
Mac Elite
Join Date: Jul 2003
Status: Offline
Reply With Quote
Nov 14, 2005, 04:29 PM
 
Atlantis
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:41 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2