Fully Working, One or Two Player, Rock-Paper-Scissors Game (AI Included)
1,426Views, 14 today
- 386Downloads, 1 today
Get Embed Code
Level 35 : Artisan Crafter
Posted 01/02/12 6:59:02 pm , last updated: 01/21/12 12:36:28 am
It's nothing fancy, just a simple little game for a server or single player world.
If you want older versions, click the mediafire downloads below. If you want the latest version, use the link underneath the pictures
How to play Rock-Paper-Scissors In Minecraft
Multi-player: The two players stand in seperate rooms and each hit one of the three available buttons (either rock, paper, or scissors) Once both players have picked, a display above their heads shows who has one, or if it was a tie.
The display will light up for 4 seconds before automatically resetting for more Rock-Paper-Scissors fun! :D
Single-player: Hit the lever in Player 1's game room (Turn right when you enter) to switch between single and multi-player modes. Double check you are in the right gamemode by using the redstone torch next to the lever. In this gamemode player 2 is a "computer" or more accurately, an AI (Artificial Intelligence) When the other redstone torch is lit, that means the computer is ready for you choice. 5 seconds after your choice has been made the light will turn off signifying that the computer is "thinking." The wait time varies from 5-45 seconds while the AI makes it's decision.(Wroking on shortening that) The pistons will extend with the colour of wool of the winner.
(Note: Single-player mode still has a couple bugs, see below)
Red activating - Player 1 wins
Blue activating - Player 2 -or- Computer wins
Black activating - Tie
I Wonder How It Works?
(No one's actually going to read this but if you want to, it's here ;)
Well, after the first button is pushed, a bank of Memory Cells (RS NOR Latches) assures that the redstone charge won't run out until the second player chooses his pick. After both choices have been....chosen, the redstone charge is siphoned through a 9-bit decoder before reaching a wall of AND Gates.
The AND Gates are positioned so that only the combination chosen makes its way to the final stage, a redstone torch ladder, that, when a charge is received, sends it along a path to the win detector, and the pistons push out. The win detector is quite simple and uses a wall of NOT Gates (Inverters) to power all the pistons when a charge is received. The series of redstone connecting to the torch ladder also goes underground and resets the circuit after a 4 second delay.
Hitting the lever sends a signal underground to the AI and releases a "safety" so to speak. This needs to be included so that in multi-player mode, the AI doesn't make the choice before Player 2 can. Once the lever has been switched, hitting one of the buttons sends a pulse to disable the second safety and engages the AI. The AI uses a three torch burnout system (designed by the VoxelBox) plus a wall of NOR Latches to ensure only one of the three choices is selected. As this is a very complicated piece of machinery this is about as far in-depth as I can go without actually being beside you holding a model of it explaining.
1.0 - Manual Reset Button + Torches for the win detector+ Multi-player mode only+ single colour display: http://www.mediafire.com/?tajrl9x9ate7zd8
2.0 - Automatic Reset+ Torches for the win detector+ Multi-player mode only+ Single colour display: http://www.mediafire.com/?t3itmrkr5d5dfmw
3.0 - Automatic Reset+ Pistons for win detector+ Multi-player mode only+ Single colour display: http://www.mediafire.com/?krf6p36u9clrfpc
4.0 - Automatic Reset+ Pistons for win detector+ Single and Multi Player modes+ Single colour display:
Tic Tac Toe - http://www.planetminecraft.com/project/fully-working-two-player-tic-tac-toe-game-most-compact-design/
Please leave feedback or suggestions below, as well as any bugs you find :D
Multi-player: There are currently no bugs for multi-player
Single-player: The decision taking time for the AI is way too long sometimes, working on fixing this.
|Tags:||Mine, Craft, Rock, Paper, Scissors, Game, Carnival, Fun, Redstone, Device, Contraption, Awesome, Two, Player, Working, One, Artificial, Intelligence, Single, Mode, Redstone Device|
|Credit:||VoxelBox for burn out torch idea|
Update #6 : 01/21/2012 12:36:28 am1/21/12
5.0 : 01/05/2012 2:25:20 pm1/05/12
- Removed Mini win detector for P1
*Cut down size of schematic
Update 4.1 : 01/04/2012 6:44:31 pm1/04/12
Version 4.0 : 01/04/2012 5:23:00 pm1/04/12
+Mini-Win Detector for Player 1 Added
+AI Added (Underneath Structure)
*Completely redid the game room
Version 3.0 : 01/03/2012 2:17:03 pm1/03/12
+ Piston wall on the win detector added
Version 2.0 : 01/02/2012 2:17:11 pm1/02/12
+ Automatic reset added (Delay of 4 seconds)
Join us to post comments.