https://github.com/baikho/sowclassic-piker
A Chrome extension that auto-builds army units and auto-pikes players in sowclassic.com
https://github.com/baikho/sowclassic-piker
browser-game chrome-extension chrome-extensions game game-bot text-based-game
Last synced: 30 days ago
JSON representation
A Chrome extension that auto-builds army units and auto-pikes players in sowclassic.com
- Host: GitHub
- URL: https://github.com/baikho/sowclassic-piker
- Owner: baikho
- License: mit
- Created: 2025-03-26T19:23:33.000Z (about 1 year ago)
- Default Branch: 1.x
- Last Pushed: 2025-04-15T19:52:22.000Z (about 1 year ago)
- Last Synced: 2025-07-17T17:11:36.720Z (11 months ago)
- Topics: browser-game, chrome-extension, chrome-extensions, game, game-bot, text-based-game
- Language: JavaScript
- Homepage: https://sowclassic.com
- Size: 52.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SOW Classic Piker
|  | **SOW Classic Piker** is a Chrome extension that automates common actions in the [Secrets of War Classic](https://sowclassic.com) game — including auto-piking enemies and auto-building units — all while handling Turbo-powered navigation. |
|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
---
## 🚀 Features
- ✅ Automatically clicks Pike Battle buttons as they appear
- ✅ Works across Turbo-driven navigation (no page reloads)
- ✅ Enable/disable clicking from the extension popup
- ✅ Supports dynamic ignored player list
- ✅ Auto-builds units (Defense or Attack) based on selected unit
- ✅ Lightweight and fast — no external libraries
- ✅ **Optional** Selenium integration via in-page bridge
---
## 🧠 Advanced: Selenium Bridge Integration
If you're using a Selenium-based bot alongside this extension, you can inject a DOM element (`#piker-bridge`) with a list of players to ignore:
```html
```
The extension will:
- Detect the bridge element on page load
- Parse the list of players
- Automatically update the internal ignore list
- Acknowledge the command by setting `data-status="done"`
This enables full bot-to-extension communication without any browser plugins or direct API calls.
---
## 📦 Installation
1. Clone or download this repo.
2. Go to `chrome://extensions/` in your Chrome browser.
3. Enable **Developer Mode** (top right).
4. Click **Load unpacked** and select the extension folder.
---
## 🔧 Usage
1. Visit the SOW Classic game map or battle page.
2. Use the extension popup to toggle **Auto Clicker** on/off.
3. The extension will detect all `` elements with an action like:
```
/game/combat/pike_battle?enemy_player=123
```
4. If a player is in your ignore list, the extension will skip them.
---
## 📄 License
MIT — use, modify, or enhance as you wish.