Git Product home page Git Product logo

egg_hatcher's Introduction

Egg_Hatcher

Description

Egg Hatcher is an online game and social experiment based off The Button.

The website displays a chicken and two buttons. One button has the chicken lay an egg, while the other button hatches all the eggs. The goal is to see who can hatch the most eggs at once, but the current number of eggs is unknown. Each player can only hatch one egg every 60 seconds, so there is tension as the player decides if they should lay another egg or hatch all the eggs for themselves. A user can login with a username to keep track of the most eggs they've peronsally hatched. When a player hatches the eggs they will see their scores and the high score.

Instructions Download project code and install required packages (flask and flask-sqlalchemy) Run egg_hatcher.py in terminal to start a local host of the website.

Code Structure The website is built using flask as a web framework and a database model using flask-sqlalchemy to keep track of user info and scores. There is are classes for the timer function and keeping track of the egg count.

egg_hatcher's People

Contributors

zatchliu avatar

Watchers

 avatar

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.