Export or edit this event...

Magic Night - Javascript Code Challenge

400 SW 6th Ave
Portland, OR 97204, United States (map)

Epicodus, 400 SW 6th Ave #800, Portland, OR 97204



About Magic Night

Magic Night is a hands on, team oriented, Javascript coding lab, welcoming of all experience levels and backgrounds. We get together because coding is fun; fun to solve hard problems, and fun to work together. We organize into small teams to code up creative solutions to a common challenge, then after 3 hours of building, present to the group.

This Month

Your mission, should you chose to accept it, is to generate a program that plays a game of rock 0, paper 1, or scissors 2. no random functions allowed! the program should be entirely deterministic. (in other words if your program plays against the same opponent program more than once the sequence of moves should be the same.) your program will receive a list of your opponent's previous moves, your previous moves, and the round number; there will be 1000 rounds per match. The tournament will be round robin format, the program with the greatest number of victories will be declared the rock paper scissors champion.