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
Ghoser777
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Nov 13, 2005, 07: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.
     
Phanguye
Mac Elite
Join Date: Oct 2001
Location: Umbrella Research Center
Status: Offline
Reply With Quote
Nov 13, 2005, 07:25 PM
 
life
     
SuvsareRetarded
Banned
Join Date: Nov 2005
Location: Beer and Cheese land
Status: Offline
Reply With Quote
Nov 13, 2005, 07:29 PM
 
Quake 3.
     
Ghoser777  (op)
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Nov 13, 2005, 07:31 PM
 
Oh boy...
     
moonmonkey
Professional Poster
Join Date: Jan 2001
Location: Australia
Status: Offline
Reply With Quote
Nov 13, 2005, 07: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.
     
Tesseract
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status: Offline
Reply With Quote
Nov 13, 2005, 07: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.
     
Ghoser777  (op)
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Nov 13, 2005, 07:40 PM
 
Lights Out might be a good one too...
     
hayesk
Guest
Status:
Reply With Quote
Nov 13, 2005, 08: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.
     
Ghoser777  (op)
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Nov 13, 2005, 08:48 PM
 
Yeah, I thought of that one too... maybe Atomica even.
     
Tesseract
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status: Offline
Reply With Quote
Nov 13, 2005, 09: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...
     
Albert Pujols
Mac Elite
Join Date: Oct 2004
Location: Neither Here Nor There
Status: Offline
Reply With Quote
Nov 13, 2005, 10: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.
     
rickey939
Addicted to MacNN
Join Date: Jul 2005
Location: Cooperstown '09
Status: Offline
Reply With Quote
Nov 13, 2005, 10:04 PM
 
War.
     
Tesseract
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status: Offline
Reply With Quote
Nov 13, 2005, 10:06 PM
 
Albert: sort, or verify proper nesting?
     
Weyland-Yutani
Mac Elite
Join Date: Mar 2005
Location: LV-426
Status: Offline
Reply With Quote
Nov 13, 2005, 10:23 PM
 
Tetris

cheers

W-Y

“Building Better Worlds”
     
Albert Pujols
Mac Elite
Join Date: Oct 2004
Location: Neither Here Nor There
Status: Offline
Reply With Quote
Nov 13, 2005, 10:29 PM
 
Originally Posted by Tesseract
Albert: sort, or verify proper nesting?
proper nesting.
     
11011001
Mac Elite
Join Date: May 2001
Location: Up north
Status: Offline
Reply With Quote
Nov 13, 2005, 10:32 PM
 
How about soduko? It would be simple to do. Maybe give them the algorithms for creating the boards though.
     
Ghoser777  (op)
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Nov 13, 2005, 10: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!
     
Salty
Professional Poster
Join Date: Jul 2005
Location: Winnipeg, MB
Status: Offline
Reply With Quote
Nov 14, 2005, 12:20 AM
 
Risk
     
Tesseract
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status: Offline
Reply With Quote
Nov 14, 2005, 12:29 AM
 
Originally Posted by Salty
Risk
He said simple.
     
Ghoser777  (op)
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Nov 14, 2005, 12:34 AM
 
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).
     
Tesseract
Grizzled Veteran
Join Date: Apr 2002
Location: california
Status: Offline
Reply With Quote
Nov 14, 2005, 12:47 AM
 
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.
     
SpaceMonkey
Addicted to MacNN
Join Date: Oct 2002
Location: Washington, DC
Status: Offline
Reply With Quote
Nov 14, 2005, 01:20 AM
 
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."
     
starman
Clinically Insane
Join Date: Jun 2000
Location: Union County, NJ
Status: Offline
Reply With Quote
Nov 14, 2005, 09:42 AM
 
Chess (duh)

Home - Twitter - Sig Wall-Retired - Flickr
     
voyageur
Mac Elite
Join Date: Jul 2003
Status: Offline
Reply With Quote
Nov 14, 2005, 06: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
Top
Privacy Policy
All times are GMT -4. The time now is 05:25 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,