From 21e7a4895f22f1d447525c3048c58078ce8a8c97 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Sat, 30 Jan 2016 15:56:01 -0800 Subject: [PATCH] Add todos and notes --- README.md | 10 ++++++++++ spec/features/plays_spec.rb | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/README.md b/README.md index 66e203f5..87690da2 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ Thirteen Tien Len TODO ---- +- 1st 2nd 3rd place messages. End game message. + +- Tables to contain the games + - flexbox layout: http://codepen.io/anon/pen/ojJOjq - graphics @@ -12,6 +16,12 @@ TODO - Implement run including face cards (done?) +- TODO: SoftToken unique for User + +- TODO: If actions are taken while not logged in, and then user logs in, + should those actions be applied to that account? Maybe prompt the user + to signup or login to save their earnings / progress. + - BUG TODO: First player / lowest card holder should not be able to pass first play diff --git a/spec/features/plays_spec.rb b/spec/features/plays_spec.rb index 87603a45..cd711526 100644 --- a/spec/features/plays_spec.rb +++ b/spec/features/plays_spec.rb @@ -16,6 +16,16 @@ feature 'Play a hand', type: :feature, js: true do Warden.test_reset! end + scenario 'player only sees own cards' do + #expect to see own cards + #expect not to see other players cards + end + + scenario 'player only sees own controls' do + #expect to see own controls + #expect not to see other players controls + end + scenario 'first play does not contain lowest card' do # controlling_player plays hand not containing lowest card # expect unsuccessful play message hand MUST contain lowest card