Skip to content

0xecho/2048-er

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

2048'er

A remake of the 2048-game but with a competitive programming twist.


View Site · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

Product Name Screen Shot Join the tiles, get to 2048. This time instead of you playing the game, unleash your bot minions to play on your behalf. Currently only supports Python. :-(

(back to top)

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • pipenv
    sudo apt install python3
    python3 -m pip install pipenv

Installation

WARNING: This repo is still in development and is highly unsafe at the moment. I am working on to isolating the USER UPLOADED AND DEFINITELY UNSAFE CODE during runtime. Currently, the USER UPLOADED AND DEFINITELY UNSAFE CODE is being run as a lower priviledge user on a ec2 instance noone cares about. DONOT ATTEMPT TO HOST THIS IN ANY PUBLICALLY ACCESSIBLE DEVICE IF YOU DONOT KNOW WHAT YOU ARE DOING!!!

  1. Clone the repo
    git clone https://github.com/0xecho/2048-er.git
    cd 2048-er
  2. Install packages
    pipenv install
  3. Run locally
    pipenv run python3 manage.py runserver 0:8000

(back to top)

Roadmap

  • [] Refactor Judge Code
  • [] Move Judge to a separate Dockerized subsystem
  • [] Improve security
    • Enforce Time and Memory limits on running code
    • Disable/Remove potentially harmful modules
    • Disconnect running code from network
    • Create a restricted environment for code

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Elias Amha - @oxecho - oxecho@wearehackerone.com

Project Link: https://github.com/0xecho/2048-er

(back to top)