Skip to content
All projects

Full Stack Web Development

Bharat Niti

Indian political strategy and election simulator.

Overview

Bharat Niti is a browser-based strategy game simulating Indian electoral politics — constituency-level campaigning, alliance-building, and AI-driven opponents — built as a modular full-stack application.

Problem

India's electoral system — with its scale, regional complexity, and coalition dynamics — is difficult to grasp abstractly. Most political simulators are either too simplistic or built for other electoral systems entirely.

Solution

A constituency-level simulation with interactive maps of India, dynamic political events, opinion polling, and AI opponents that react to the player's strategy — giving campaigning, alliances, and election night a genuine sense of stakes.

Features

Constituency-level campaign mechanics

AI-driven opponent strategies

Dynamic political events engine

Alliance management system

Interactive India maps

Opinion poll simulation

Architecture

React + TypeScript on Vite, with Zustand managing global game state (constituencies, alliances, poll numbers) and Tailwind CSS + Framer Motion for a responsive, animated UI across a modular component structure.

Tech Stack

ReactTypeScriptViteZustandTailwind CSSFramer MotionHTML5CSS3

Screenshots

Bharat Niti screenshot 1

Challenges

Modeling constituency-level state at national scale without state updates becoming a performance bottleneck pushed toward a more deliberate Zustand store architecture with scoped selectors.

Lessons Learned

Simulating a system this interconnected clarified the value of separating simulation logic from UI state early, rather than letting them tangle as features were added.


Next project

Instant QR Code Generator