Giter VIP home page Giter VIP logo

snakecord's Introduction

Snakecord

A simple and fun way to play Snake inside of Discord! This Discord bot was made with Replit, using Discord's new message components! This project was made for the 2021 Replit Discord Bot task. (🥈 2nd place winner!)

Invite Snakecord to your Discord server here.

Features

This bot has a lot of different features, including automatic movement, points system and backgrounds! Cool Stuff!

Screenshot  

Run the code yourself

Repl.it:

  • Fork the GitHub Repository inside of Replit. (Home -> Plus Button)
  • Open the Secrets window on the left.
  • Add the following secrets:
    • PRODUCTION_STABLE as the key, and your bot's token as the value.
    • DEVELOPMENT_BETA as the key, and your bot's token as the value. (Only add this secret if you want a separate development bot.)
  • Go to the Shell.
  • Run bash start.sh to install Node 15.3.0 and to start the bot. (Run bash beta.start.sh if you want to start the separate development bot.)

Note: Using the Repl.it shell and executing the bash scripts is required because Replit uses Node 12.16.1 instead of Node 15.3.0.

Local:

  • Install Node 15.3.0.
  • Clone the GitHub Repository to your machine.
  • Add the following environment variables:
    • PRODUCTION_STABLE as the key, and your bot's token as the value.
    • DEVELOPMENT_BETA as the key, and your bot's token as the value. (Only add this variable if you want a separate development bot.)
  • Run node src/index.js production stable to install Node 15.3.0 and to start the bot. (Run node src/index.js development beta if you want to start the development bot.)

License

snakecord's People

Contributors

ibrahimcaj avatar ajdintm avatar

Stargazers

 avatar Thomas avatar Yash avatar Farrell D. avatar Tomihad avatar Paulius Gečas avatar  avatar Stijn van der Kolk avatar  avatar

Watchers

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