Multiplayer Defcon game made in Vanilla JS and GamedevCloud (Probably no longer maintained): https://github.com/gamedevpl/gamedev-cloud
Details (Probably no longer maintained): http://www.gamedev.pl/projekt/dupocracy
Playable demo (Probably no longer maintained): http://gtanczyk.warsztat.io/Dupocracy/game/index.html
This is a modified version of the original Dupocracy game. The original code required access to the gamedev.pl cloud servers to play, making it unplayable when those servers were unavailable.
This fork adds an offline mode that allows you to play the game locally without needing server access.
The game uses "loopback" mode for offline play, which simulates network connections locally within your browser. This allows you to play the game without needing a real server connection.
Dupocracy is a browser-based multiplayer strategy game where players control continents and battle with missiles and radars.
There are two ways to run Dupocracy locally:
- Set up a local web server (like Python's built-in server, Node.js's http-server, or XAMPP)
- Clone or download this repository
- Place the files in your web server's directory
- Open your browser and navigate to localhost
- Click the "Play Offline (Local Mode)" button on the launcher
- Clone or download this repository
- Open game/index.html in your web browser
- Click the "Play Offline (Local Mode)" button on the launcher
- Place radars and launchers on your continent
- Each continent can have 5 radars and 5 launchers maximum
- Click on the map to place units
- Right-click on units to set their mode (Attack, Defend, Scout)
- Right-click on a point on the map to target your launchers
- Defend your units from enemy attacks
- Scout can reveal enemy positions
- Destroy all enemy units to win
If you encounter any issues:
- Make sure JavaScript is enabled in your browser
- Try using a modern browser like Chrome, Firefox, or Edge
- Check your browser console for any error messages
- Try refreshing the page with Ctrl+F5 or Cmd+Shift+R