Most game AIs are fake smart.

Patterns, scripts, predictable behavior.

Block-Reign isn’t.

This is a lightweight Player vs AI grid battle game where the AI actually learns from every match you play — wins, losses, mistakes, all of it.

No GPU.

No fancy engines.

Just Python, reinforcement learning, and persistence.


🕹️ What Is Block-Reign?

Block-Reign is a 10×10 grid-based Player vs AI combat game built with:

  • Flask + HTML for the frontend
  • Python for the game server
  • Reinforcement Learning (Q-Learning) for live gameplay
  • DQN for advanced offline experimentation

You play in the browser.

The AI plays on the server.

After every match, it gets smarter.


🤖 The AI Philosophy

The core idea was simple:

What if the AI learned only from real g…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help