Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/msp95/stormtrader
A multiplayer game built using React JS and Elixir, which involves two players, buying and selling stocks in a limited amount of time with a given initial amount. The player with more money at the end of that time will be declared as winner.
https://github.com/msp95/stormtrader
elixir-lang genserver phoenix-channels phoenix-framework reactjs
Last synced: about 2 months ago
JSON representation
A multiplayer game built using React JS and Elixir, which involves two players, buying and selling stocks in a limited amount of time with a given initial amount. The player with more money at the end of that time will be declared as winner.
- Host: GitHub
- URL: https://github.com/msp95/stormtrader
- Owner: MSP95
- Created: 2018-03-04T21:58:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T14:49:48.000Z (about 2 years ago)
- Last Synced: 2024-04-17T00:31:14.024Z (8 months ago)
- Topics: elixir-lang, genserver, phoenix-channels, phoenix-framework, reactjs
- Language: JavaScript
- Homepage: http://stormtrader.manishpatil.net
- Size: 62.8 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project: The Stock Market Game
# Team Members (413):
1. Manish Patil ([email protected])
2. Varad Choudhari ([email protected])# Description:
This is a multiplayer game, which involves two players,
buying and selling stocks in a limited amount of time with a given initial amount.
The player with more money at the end of that time will be declared as winner,
and the other player loses. Unlimited spectators can watch this game and
can broadcast any buy/sell suggestions to the players.# Describe what players will see on the screen:
1. Players will see a login page where they’ll have to enter their name and
select if they want to be a spectator or a player.2. A Player will see the following things:
I. On joining the game, the player will be given some money (eg. $10000) in his wallet.
II. There will be a timer displayed at the top (eg. 5 minutes) during which
the game should be played.
III.The player will see the available stocks in the market and will make the
purchase based on the cost of the stock, the quantity available in the market,
and the available money with him.
IV. The player will be able to see other player’s stocks account
(i.e which stocks the other player owns)
V. The player will see a suggestion box which will be written by spectators
to help himself make the purchase
VI. The player can also see historical stocks data which can help him make the purchase.3. A Spectator will see the following things:
I. Spectator will see the account of both the players, i.e the stocks they have,
their quantity and the money left with them
II. Spectators will also see the timer
III.Spectators will see a chat box to input their suggestions# Describe what kind of actions they can take:
1. Before joining any game, players can challenge any other player waiting in the lobby,
if no player is waiting in the lobby, then the player can wait for other
player in the lobby.2. Once the game starts, players will have the ability to
I. Buy any available quantity of some stock
II. Sell any quantity of some stock which he/she has bought before.
III.Search for any stock and see the detailed stock content.3. Spectators will have the ability to join any game and suggest (broadcast) players
which stocks to hold/buy/sell.# Describe how a player can win
A player who has more money in their wallet at the end of alloted time period will win.