An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# SOW Classic Piker

| ![SOW Classic Piker Icon](https://github.com/user-attachments/assets/afcbcfaf-4203-4c4a-8c36-1619cace2bef) | **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.