BattleScripts
Want to learn in-demand programming languages like Python, and Java? Interested in algorithms and design patterns? Or maybe you just love games? If any of this sounds like you, you're in the right place!
Codecraft BattleScripts let you learn coding by creating your own autonomous game Scripts for popular games. Choose a game, learn the rules, and then write a program that plays it. Our browser-based code editor and online IDE, the Forge, makes it easy to write, test, and refine your code. See how your BattleScript stacks up against others in head-to-head Arena matches!
Available Games
Tic-Tac-Toe
This classic game challenges you to create a Script that can outsmart its opponent and achieve three in a row.
Sign In To Create a New BattleScript Hide and Sink
Based on the classic Battleship game, Hide and Sink requires strategic thinking and cunning to locate and sink your opponent's ships.
Sign In To Create a New BattleScript- Choose a Game
- Build a Script in the Forge
- Submit your Script to your Armory
- Battle other Scripts in the Arena
Forge
Write code and test it. The Forge is our browser-based IDE, where raw code is hammered into shape.
Armory
Move your battle-ready Scripts to the Armory, where they can be deployed or challenged.
Arena
Ready to put your skills to the test? BattleScripts PvP format lets you pit your autonomous game Scripts against others in any of our available games and programming languages. Analyze your performance, compare strategies, and see who comes out on top!