Giter VIP home page Giter VIP logo

decempions's Introduction

DeCempions

Fun small project to play with and learn about Flask framework. Simple guessing game based on your favourite league that you can play with your friends!

Getting started

To run this project you have to clone or download this repository, with the command:

git clone https://github.com/A-725-K/DeCempions

Then you have to install the Python3 libraries using the requirements file:

python3 -m pip install -r requirements.txt

Before playing you have to create a .env file in the decempions directory similarly to .env.example with your own personal configuration. Remember also to change the value of the admin token in decempions/database/decempions.sql to avoid weak password easy guessing!

Finally you can run flask run in the home of the project to start the server, and go to http://localhost:16000 in your browser to play the game!

Last step before finally enjoying the game, initialize the DB by running:

flask init-db

Note

I am NOT a UI developer, and the styling has been made with bare CSS and a lot of effort to learn it better ๐Ÿ˜„ It is "responsive" but the best experience you will get is on a monitor with resolution 1440 ร— 900, like the monitor I used to develop the project.

How it looks

Index Homepage
Guess the score League

Future features?

  • Containerize the project
  • Introduce the League concept
    • Handle multiple leagues
  • Administrator panel/dashboard:
    • League statistics and overview
    • Insert/Edit results
    • Manage players
  • Better handling of next week:
    • Let the user change/update the guess for the next week
  • Pagination in ranking page
  • Let the users upload their profile pictures
  • Write unit and integration tests
  • Improve UX
  • Improve UI
    • Better responsiveness
  • Improve security
  • Fix bugs (I am 100% sure there are some ๐Ÿ˜‰)

Author

  • Andrea Canepa - 2022

decempions's People

Contributors

a-725-k avatar

Stargazers

 avatar  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.