docs/code.md in rpsg-0.2.9 vs docs/code.md in rpsg-0.3.0
- old
+ new
@@ -1,9 +1,9 @@
---
layout: default
permalink: /code.html
-tite: "Master Code"
+title: "Master Code"
---
# Master Code
> the master code will look like this:
@@ -32,12 +32,12 @@
# create 2d list of choices
CHOICES = [['r', 'rock'], ['p', 'paper'], ['s', 'scissors']]
# define entry to symbol (key to value)
NTRY_TO_SYM = {
- CHOICES[0][0] => :ROCK , CHOICES[0][1] => :ROCK ,
- CHOICES[1][0] => :PAPER , CHOICES[1][1] => :PAPER ,
- CHOICES[2][0] => :SCISSORS, CHOICES[2][1] => :SCISSORS
+ CHOICES[0][0] => :ROCK , CHOICES[0][1] => :ROCK ,
+ CHOICES[1][0] => :PAPER , CHOICES[1][1] => :PAPER ,
+ CHOICES[2][0] => :SCISSORS, CHOICES[2][1] => :SCISSORS
}
# define valid entries
VALID_ENTRIES = NTRY_TO_SYM.keys
\ No newline at end of file