ElixirCLE / nemestats_client

3 stars 2 forks source link

Initial MVP commit #5

Closed Serneum closed 7 years ago

Serneum commented 7 years ago

The list of games we play is hardcoded Picks a game at random that can support the number of players for the day

iex(1)> NemeStatsClient.pick_game(5)
"BANG!"
iex(2)> NemeStatsClient.pick_game(5)
"Spyfall"
iex(3)> NemeStatsClient.pick_game(8)
"Mascarade"
iex(4)> NemeStatsClient.pick_game(8)
"Mascarade"
iex(5)> NemeStatsClient.pick_game(8)
"Secret Hitler"
iex(6)> NemeStatsClient.pick_game(8)
"Codenames"
iex(7)> NemeStatsClient.pick_game(8)
"Shadow Hunters"
iex(8)> NemeStatsClient.pick_game(8)
"Spyfall"
iex(9)> NemeStatsClient.pick_game(8)
"The Resistance: Avalon"
iex(10)> NemeStatsClient.pick_game(8)
"Shadow Hunters"
iex(11)> NemeStatsClient.pick_game(8)
"Secret Hitler"
iex(12)> NemeStatsClient.pick_game(8)
"The Resistance: Avalon"
iex(13)> NemeStatsClient.pick_game(8)
"Codenames"
iex(14)> NemeStatsClient.pick_game(8)
"The Resistance: Avalon"
iex(15)> NemeStatsClient.pick_game(8)
"The Resistance"
iex(16)> NemeStatsClient.pick_game(8)
"The Resistance: Avalon"
iex(17)> NemeStatsClient.pick_game(8)
"Tsuro"
iex(18)> NemeStatsClient.pick_game(8)
"Exploding Kittens"
iex(19)> NemeStatsClient.pick_game(8)
"Zombie Dice"
Serneum commented 7 years ago

@daveshah Let me know your thoughts on this as the MVP. I'm also wondering if having filter_min_players and filter_max_players is worth it, or if just having everything in pick_game is better.

Serneum commented 7 years ago

Actually, would this even go in this project or would we put it in the main project that will eventually call the client? Seems like we could leave it here until we finish the client, though it may be out of place

daveshah commented 7 years ago

I do feel like we might want to move the GamePicker into the main project eventually, but here is fine for now. Looks good so far.