Skip to content

shototoy/salpakan-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salpakan: Imperium

Platform Platform Multiplayer

Ancient Strategy. Modern Battles.

A traditional Filipino strategy game reimagined for the digital age. Deploy your forces, outmaneuver your opponents, and capture the enemy flag in this timeless battle of wits.

Play NowGame RulesFeatures


Game Features

Strategic Depth

Deploy your pieces with precision and foresight. Every move counts in this timeless battle of wits and strategy. Master the art of positioning and anticipation to dominate the battlefield.

Real-Time Combat

Engage opponents in fast-paced, intense matches. Outsmart and outmaneuver your rivals with calculated moves and tactical brilliance.

Multiple Game Modes

  • Online Multiplayer - Connect with players worldwide through network battles
  • Local Multiplayer - Challenge friends on the same device with hot-seat mode
  • AI Opponent - Practice your skills against an intelligent computer opponent

Tactical Gameplay

Each piece holds unique powers and ranks. Position them wisely, anticipate your opponent's moves, and emerge victorious through superior strategy.

Cross-Platform Ready

Play seamlessly on desktop or mobile browsers. The responsive design ensures a perfect experience on any device.

Quick Matches

Experience intense 5-10 minute matches perfect for quick gaming sessions or extended strategic battles.


Game Rules

Army Composition

Each player commands 21 pieces with unique ranks and abilities:

Rank Piece Quantity Power Level
1Five-Star General1Highest
2Four-Star General1⬆️
3Three-Star General1⬆️
4Two-Star General1⬆️
5One-Star General1⬆️
6Colonel1⬆️
7Lt. Colonel1⬆️
8Major1⬆️
9Captain1⬆️
101st Lieutenant1⬆️
112nd Lieutenant1⬆️
12Sergeant2⬆️
13Private5⬆️
14Spy2Special
15Flag1Objective

Battle Mechanics

Standard Combat

Higher rank defeats lower rank. When two pieces of equal rank battle, both are eliminated.

Special Rules

The Spy - A master of deception

  • Defeats ALL pieces from Five-Star General down to Sergeant
  • EXCEPTION: Defeated by Private

The Private - The lowly soldier's advantage

  • Defeats Spy
  • Loses to all other ranked pieces

The Flag - Your objective

  • Cannot move from its position
  • Loses to any attacking piece
  • Must be protected at all costs

Victory Conditions

Achieve victory through either objective:

  1. Capture the Flag - Successfully attack and capture the enemy flag
  2. Total Domination - Eliminate all opponent pieces that can move

How to Play

Setup Phase

  1. Choose Your Mode - Select Online, Local, or AI opponent
  2. Deploy Your Forces - Arrange your 21 pieces on your side of the 9×8 board
  3. Strategic Positioning - Hide your Flag, place Spies tactically, set ambushes
  4. Confirm Ready - Lock in your deployment to begin battle

Battle Phase

Movement - Click your piece, then click an adjacent square to move (vertical or horizontal only)

Combat - Move into an enemy piece's square to engage in battle

Information - Enemy pieces are hidden until engaged in combat

Strategy - Use revealed information to deduce enemy positions and plan attacks

Winning Strategies

Beginner Tips

  • Keep your Flag in the back rows for protection
  • Don't move your Flag - it cannot move and shouldn't be exposed
  • Use Privates as scouts to test enemy pieces
  • Remember which pieces have been eliminated

Advanced Tactics

  • Deception - Move pieces in patterns that disguise your Flag's location
  • Spy Traps - Position Spies near likely paths to high-value targets
  • Center Control - Dominate the middle for maximum board coverage
  • Sacrifice Plays - Trade lower pieces to reveal enemy positions
  • Memory Game - Track revealed enemy pieces for tactical advantage

Expert Strategies

  • Bait and Switch - Use decoy pieces to draw out enemy forces
  • Formation Breaks - Force opponents into unfavorable positions
  • Tempo Control - Make moves that limit opponent options
  • Endgame Planning - Save key pieces for final push to enemy Flag

Quick Start

For Players

  1. Open index.html in your web browser
  2. Select your preferred game mode
  3. Deploy your forces strategically
  4. Begin your battle for supremacy

For Multiplayer

Online Mode:

  • Host creates a room and shares the 6-character Room ID
  • Guest enters Room ID to join
  • Both players deploy forces and battle begins

Local Mode:

  • Pass device between players after each turn
  • Perfect for face-to-face strategic duels

About Salpakan

Salpakan is an ancient Filipino strategy game that has been played for generations across the Philippines. The game combines elements of tactics, memory, and psychological warfare into an engaging experience where every decision matters.

This digital version preserves the classic gameplay while introducing modern features:

  • Clean, intuitive interface
  • Online multiplayer connectivity
  • Intelligent AI opponent
  • Responsive cross-platform design

Whether you're a casual player seeking quick matches or a competitive strategist pursuing deep tactical gameplay, Salpakan: Imperium delivers endless challenge and excitement.

Game Characteristics

Pure Strategy - Victory comes entirely from skill and tactical decision-making

Hidden Information - Enemy pieces remain concealed until combat engagement

Psychological Warfare - Bluff, deceive, and outthink your opponent

Quick Sessions - Fast setup and gameplay for engaging 5-10 minute matches

Infinite Depth - Simple rules with complex strategic possibilities


Technical Details

Technology Stack

  • Pure HTML5/CSS3/JavaScript
  • React for component architecture
  • WebSocket for real-time multiplayer
  • Responsive design for all devices

Browser Support

  • Chrome (recommended)
  • Firefox
  • Safari
  • Edge
  • Mobile browsers

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Traditional Filipino strategy game adapted for modern web platforms. Preserving cultural heritage through interactive digital experiences.


Ready to Command Your Forces?

Deploy your army, outsmart your opponents, and claim victory in Salpakan: Imperium

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages