Giter Site home page Giter Site logo

lap-1-project-game-theory's Introduction

Game of Theory

An App aimed at creating interest in Game Theory and Economics in year 9 students

Table of contents

Description

You are playing a game called 'The Prisoner's Dilemma'. Choose High or Low - it's a free choice - and you get ten rounds per game. The App makes a free choice and is unaware of the choice you make.

And it's as simple as that.

So why have so many economic papers been written about such a simple game?

The scoring is not simple.

The top score comes if you choose Low and the App choses High. The next best is if you both choose High. 3rd best if you bot choose Low. And the lowest score comes from you choosing High with the App choosing Low.

The App doesn't know what you will choose next, but it might make a prediction, and that prediction may be based on your previous choices; so choose carefully.

You will be taken to the results page at the end of each game, you can look over past games, and delete any results you can't bear to look at.

About the Project

  • This project makes good use of the concepts we have covered so far on the course such as wireframes, working methodologies, logical reasoning, and programming fundamentals.
  • We used version control & worked in an Agile manner!

User Story

AS A year 9 student with limited experience or interest of non-STEM subjects
I WANT to play an engaging game
SO THAT I can explore game-theory and economics without being bored

Acceptance Criteria

  • Our repo README follow the guidance Writing READMEs guide for details.
  • Our project has a front-end and a back-end.

Screen Shots

Home Page Home Page

Gameplay Page Gameplay Page

Results Page Results Page

Installation

This is a basic static front-end website deployment which can be deployed on any server or client with a browser.

Clone the repo and install with npm install.

To run the server, change the server fetch path in both:

  • function resultDeleteGameData in results.js
  • function postObject in gameplay.js to your chosen deploy server or localhost:xxxx setting the port in the .env file.

Technologies Used

HTML CSS JavaScript Inkscape

Render Git GitHub Markdown VS Code Postman Hoppscotch Insomnia Node JS ExpressJS

Credits

Ralph Cox, Camille Francis, Emre Duzgun, Alex Slater

License

This work is published under the MIT Licence

lap-1-project-game-theory's People

Contributors

cams-plan avatar aslaterm32 avatar eduzgun avatar essexgit avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

lap-1-project-game-theory's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.