Skip to content

Commit 42e29ec

Browse files
committed
Rock Paper Scissors Flask application assignment
1 parent 9457755 commit 42e29ec

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Rock Paper Scissors Flask app
3+
---
4+
5+
## Overview
6+
7+
In this assignment we will implement the game of Rock Paper Scissors in a web
8+
application.
9+
10+
## Instructions
11+
12+
Your web application should let a user play the game of Rock Paper Scissors.
13+
Just like in previous assignments, your program should accept a user's input,
14+
randomly make a selection for its own move, then determine the winner.
15+
16+
The code and logic for making a random selector for the program's own move and
17+
determining the winner will be the same as it has before, however since we're
18+
building a web application and not a terminal application, the code/logic for
19+
accepting the user's input will be different.
20+
21+
There are different ways of accepting user input in a web application, but
22+
since we're learning about routes in Flask, we'll use those. As a hint, your
23+
application will need three routes for each of the possible movies
24+
(\quoted{Rock}, \quoted{Paper}, \quoted{Scissors}). When the user navigates to
25+
one of these routes, you will know what their choice is.
Binary file not shown.

0 commit comments

Comments
 (0)