An Easy to Make Game

by random brilliance in Circuits > Electronics

2764 Views, 8 Favorites, 0 Comments

An Easy to Make Game

IMGA0132.JPG
IMGA0131.JPG
IMGA0129.JPG
IMGA0128.JPG

This is my instrucatable on a very easy to make game. It is for two players and is very good as a travel game. The game flashes a colour and the players have to find an object of that colour. The first person to do so wins. 

How you play:

The red / red and green leds with flash. Then one of the leds will turn on. When this happens the players have to find an object of that colour. Once they have they must press and hold their switch. If they are first then all the colours will flash and then a colour will light up (red for player 1, sw1 or yellow for player 2, sw2). Then they say what the object is and any player presses their switch and a new colour will be picked.

The Step of Find or Buy

08chip.gif
pic08devboard.gif
For this game you will need:

1x picaxe 08m chip,  www.rapidonline.com (part 13-0824) picture 1
1x picaxe 08 development board, http://www.kitronik.co.uk/index.php/products/project-kits/programmable-pic-kits/kitronik-programmable-pic-kits/8-pin-pic-development-and-project-boards/ (part 2126)  picture 2
Some solder
A flat head screwdriver
A soldering iron
3x  1.5V AA baterries
A picaxe download cable, http://www.techsupplies.co.uk/AXE027 or http://www.techsupplies.co.uk/AXE026 CHECK BOTH FIRST!
Picaxe Programmming Editor http://www.rev-ed.co.uk/picaxe/ > Software

If you have this stuff then you can move on to the next step

The Step of Assembly

IMGA0130.JPG
IMGA0132.JPG
IMGA0127.JPG
IMGA0133.JPG
IMGA0133.JPG
IMGA0133.JPG
IMGA0133.JPG
IMGA0133.JPG
IMGA0133.JPG
IMGA0133.JPG
IMGA0133.JPG
IMGA0133.JPG
IMGA0127.JPG
IMGA0132.JPG
IMGA0132.JPG
IMGA0132.JPG
IMGA0133.JPG
IMGA0130.JPG
Now you have to build the board,

Just solder all the componants to the board. Make sure that led1 is red, led2 is yellow and led3 is green. If you don't know which componant to put in each place then:

sw1- push to make switch
sw2-push to make switch
r1-resistor, brown black orange
r2-resistor, brown black orange
r3-resistor, red red orange
r4-resistor, brown black orange
r5-resistor, brown black red
r6-resistor, brown black red
r7-resistor, brown black red
r8 - resistor, brown black red
IC1-8 pin chip holder
Q1-transistor
prog-download jack
LED1-red led
LED2-yellow led
LED3-green led
The connectors can be soldered in to the spaces.
 THE LEDS CHIP HOLDER AND TRANSISTOR MUST GO IN THE CORRECT WAY.


The Step of Completion

programming editor1.gif
programming editor 2.gif
Now connect the board to the computer with the download cable. Then open the Picaxe Programming Editor, picture 1, and copy and paste the code below in to the window. Next click on options, picture 1, and change the Picaxe mode to 08M, picutre 2. Now click program, picture 1. If everyhing went well your game should now work. For help with the editor goto
http://www.rev-ed.co.uk/docs/picaxe_manual1.pdf .

Have fun!.