Today we will code an abstract strategy #game using #react and #javascript
It is called: "King's Valley".
I avoided web based apps after 2 very painful experiences in the late 90s. So I didn't want anything to do with desktop browsers since. But today I will learn React and Javascript and write a desktop browser version (that is scalable) with an ai musing minimax.
And we learn something about #gloryholes
Game: https://gentle-beach-08e592103.2.azur...
code: https://github.com/rdoetjes/kingsvalley
Chapters:
00:00 Intro
00:21 Why I decided to learn React JS
00:59 What we are making
01:04 Glory holes explained
01:41 Intro to minimax AI
02:14 Game rules explained (and demo)
03:14 Showing the 3D models (Blender)
04:02 FACE HUGGERS!!!
04:12 EAT ZE BUGS!!!
05:27 The Board background image
06:01 The code
13:54 AI (minimax algorithm)
19:38 Pruning illegal moves from your move list
21:15 Idea for the AI for the future
21:48 Winning strategy...
22:05 Outro