Click 'Add To Game' next to your Battlesnake to add it to the game. You should see your new Battlesnake in the list. This means at this point your Battlesnake is most likely going to collide with a wall or itself pretty quick - that's ok! We all have to start somewhere.Ĭreate a custom game by going to /account/games/create. So far, your Battlesnake has a sharp new look but is only smart enough to move in a random direction. You are now ready to test your Battlesnake in live games! If there is a problem or error with your Battlesnake, you can make changes to your code or configuration and then click Ping to test it again. These can all be deployed instantly to Replit using the 'Run on Replit' button in the GitHub readme for each project. Each one is documented with detailed development and deployment instructions.įor your first Battlesake we recommend choosing one of the Official Starter Projects in a language you're most comfortable with. ![]() There are several community-supported starter projects for popular languages and technologies. You can use any programming language, cloud platform, and strategy you want - from simple game logic to machine learning and AI. How you program it to respond to these requests will determine your Battlesnake's moves, behavior, and competitive success. To play Battlesnake you'll need to build and deploy a web server that implements the Battlesnake Webhook API.ĭuring a game of Battlesnake, the game engine will send requests to your web server. ![]() If you do not wish to use Replit, feel free to follow along with your preferred setup!ĭon't feel like reading? Follow our Quickstart video series instead. This guide will help you deploy and test your first Battlesnake using an Official Starter Project and Replit.īattlesnake developers can use any web development tech stack they'd like.
0 Comments
Leave a Reply. |