Commit Graph

254 Commits

Author SHA1 Message Date
Wuzzy
22eb1334fe Chess: Fix loss of castling for wrong rook move 2023-07-16 11:59:55 +02:00
Wuzzy
8e55eb49b0 Chess: Teach "AI" to promote (again) 2023-07-16 11:48:50 +02:00
Wuzzy
c1bb45d8b2 Chess "AI" now uses move function like the player 2023-07-16 11:06:19 +02:00
Wuzzy
ef65e86547 Chess: Fix AI pawn doublestep safe from en passant 2023-07-16 09:35:09 +02:00
Wuzzy
5e97bd81b7 Chess: Fix en passant may put own king at risk 2023-07-16 08:48:45 +02:00
Wuzzy
e28f2a1844 Chess: Refactor en passant implementation 2023-07-16 08:36:19 +02:00
Wuzzy
f88aa3a4aa Chess: Fix incorrect temrminology (rank vs file) 2023-07-16 08:06:19 +02:00
Wuzzy
8808645384 Chess: Add promotion to notation 2023-07-15 17:43:25 +02:00
Wuzzy
4bfec061bb Chess: Tweak notation spacing 2023-07-15 16:54:58 +02:00
Wuzzy
2ef3d97c7a Chess: Fix broken loss of castling rights 2023-07-15 16:48:00 +02:00
Wuzzy
36e2aab3b6 Chess: Dead position detection (material only) 2023-07-15 16:35:11 +02:00
Wuzzy
c4348ac20e Chess: Fix broken promotion 2023-07-15 10:15:45 +02:00
Wuzzy
820f4238a0 Chess: Refactor figurine string 2023-07-15 10:06:24 +02:00
Wuzzy
78106fe9e4 Chess: Abort promotion when resigning 2023-07-15 08:28:18 +02:00
Wuzzy
fabfc35579 Chess: Improved chess figurines for notation 2023-07-15 08:23:24 +02:00
Wuzzy
cede0534eb Chess: Fix crash if AI is in check 2023-07-14 22:42:42 +02:00
Wuzzy
e316e77846 Chess: Better way to detect moves list length 2023-07-14 22:31:28 +02:00
Wuzzy
d580074ea8 Chess: Fix another missing checkmate detection 2023-07-14 22:14:06 +02:00
Wuzzy
edb0ed7cbf Chess: Fix notation of "files" (chessboard rows) 2023-07-14 19:08:34 +02:00
Wuzzy
c2f641ab62 Chess: Fix incomplete checkmate detection 2023-07-14 18:36:12 +02:00
Wuzzy
769f867ab1 Chess: Refactor coordinate notation 2023-07-14 17:30:40 +02:00
Wuzzy
04dabe4091 Chess: Add castling to possible moves detection 2023-07-14 16:12:52 +02:00
Wuzzy
74f8dc3bf9 Chess: Refactor castling check function 2023-07-14 16:05:47 +02:00
Wuzzy
da68b34c49 Chess: Add en passant detection for possible moves 2023-07-14 14:56:37 +02:00
Wuzzy
db80dd58db Chess: Detect checkmate and stalemate (kinda) 2023-07-14 01:47:53 +02:00
Wuzzy
fb081e5411 Chess: Can choose color to play against "AI" 2023-07-13 00:22:15 +02:00
Wuzzy
a4a6b1005e Chess: Teach "AI" to play as White 2023-07-12 23:53:31 +02:00
Wuzzy
3e8a155895 Chess: Fix "New game" button 2023-07-12 21:30:08 +02:00
Wuzzy
8f339206ca Chess: Add resigning button 2023-07-12 20:56:06 +02:00
Wuzzy
a3aa10b179 Chess: Change button color 2023-07-12 13:48:59 +02:00
Wuzzy
aa7d414a27 Upgrade chess formspecs to version 2 2023-07-12 13:35:54 +02:00
Wuzzy
8671eb68bc Remove a Chess TODO because I disagree :P 2023-07-12 11:46:23 +02:00
Wuzzy
00e5af5e34 Chess: Fix AI crash 2023-07-12 11:37:09 +02:00
Wuzzy
c99e2efe09 Simplify some chessboard messages 2023-07-12 11:30:15 +02:00
Wuzzy
0d9af7803a Chess: Make time message translatable 2023-07-12 11:11:48 +02:00
Wuzzy
d6497ab42b Chess: Tweak UI in starting game mode 2023-07-12 11:04:26 +02:00
Wuzzy
92bcdbc717 Fix crash if AI has no moves left 2023-07-12 08:54:30 +02:00
Wuzzy
fdcb958f37 Chess: Fix broken notation on some king moves 2023-07-12 08:35:46 +02:00
Wuzzy
d23c3d0ce2 Chess: Fix check detection not working 2023-07-12 08:29:26 +02:00
Wuzzy
4b7da45045 Chess: Let player select pawn promotion 2023-07-12 01:27:55 +02:00
Wuzzy
077b7d66b8 Chess: Fix AI moving king into attacked squares 2023-07-11 17:59:06 +02:00
Wuzzy
d834d41c41 Chess: Add support for more game results 2023-07-11 17:30:52 +02:00
Wuzzy
44f75850dc Chess: Fix game-breaking inventory handling bugs 2023-07-11 15:39:41 +02:00
Wuzzy
5f9601300c Chess: Return empty table if no possible moves 2023-07-11 13:47:25 +02:00
Wuzzy
528eafb669 Chess: Remove comments about incorrect Chess rules 2023-07-11 13:40:50 +02:00
Wuzzy
4ced765ee6 Chess: Fix Black allowed to move first 2023-07-11 12:03:21 +02:00
Wuzzy
ed3bd0e71c Chess: Prevent castling over attacked squares 2023-07-11 11:53:32 +02:00
Wuzzy
578dea473a More readable Chess notation 2023-07-11 11:08:43 +02:00
Wuzzy
1919a2e7f8 Chess: Refactor eaten and moves lists 2023-07-11 10:50:06 +02:00
Wuzzy
1ed59efc4d Enable Chess games for dev purposes 2023-07-11 09:21:58 +02:00
Wuzzy
694255cff8 Update Chess formspec in multiplayer 2023-07-11 09:21:39 +02:00
Wuzzy
47be3f6e20 Chess: Implement 'en passant' captures 2023-07-11 09:16:13 +02:00
Wuzzy
707bf1fd26 Chess: Set name of AI player immediately 2023-07-11 07:22:56 +02:00
Wuzzy
a5866b2e42 Chess: Show arrow to current player 2023-07-11 07:01:58 +02:00
Wuzzy
84cbf5bf7b Chess: Fix eaten_img not resetting on new game 2023-07-11 00:10:07 +02:00
Wuzzy
0b8a98ae93 Chess: Switch to algebraic notation (partial) 2023-07-10 23:09:16 +02:00
Wuzzy
762d4e7449 Rope: Replace on_punch with after_dig_node 2023-07-10 20:34:50 +02:00
Wuzzy
0f31e75cdd Add placement prediction for rope 2023-07-10 20:27:03 +02:00
Wuzzy
5c1165ea54 Rope no longer extends infinitely in Creative Mode 2023-07-10 20:24:51 +02:00
Wuzzy
6f47d7fc8d Add support for tt mod 2023-07-10 19:52:38 +02:00
Wuzzy
5164d153c1 Disable Chess games again 2023-07-10 18:37:23 +02:00
Wuzzy
8a80b7cb98 Merge pull request 'Hacky patch to make chess mostly work' (#8) from appgurueu/xdecor-libre:master into master
Reviewed-on: https://codeberg.org/Wuzzy/xdecor-libre/pulls/8
2023-07-10 16:36:08 +00:00
Niklp09
02a5ec8bb0 add UI craft type for xdecor:honey 2023-07-07 22:05:25 +02:00
Wuzzy
78c441528a Add dirt for rusty iron bar recipe 2023-07-06 00:54:30 +02:00
Wuzzy
99fcea1af9 Remove flora group from ivy
flora is used for the flower spread ABM
2023-07-03 16:38:16 +02:00
Wuzzy
adc630b730 Updated packed_ice groups to be like MTG 2023-07-03 16:32:50 +02:00
Wuzzy
9ba677caab Refactor mailbox code a little 2023-07-03 16:18:52 +02:00
Wuzzy
919fc6c5ab Add listring to mailbox giving 2023-07-03 16:15:07 +02:00
Wuzzy
30f1e71a90 Make mailbox donor box line up with inventory size 2023-07-03 16:06:24 +02:00
Wuzzy
c010f33465 Fix double lantern sound if placing 2023-07-03 16:00:49 +02:00
Niklp09
c07e1c2b15 fix node name 2023-07-03 15:02:06 +02:00
Wuzzy
6f7f3a4ba8 Fix hive formspec trigger not shooting if needed 2023-07-02 01:53:45 +02:00
Lars Mueller
5a749a3bc4 Hacky patch to make chess mostly work 2023-07-02 01:36:38 +02:00
Wuzzy
43f2834b47 Fix 2 broken fuel recipes 2023-07-02 01:27:42 +02:00
Wuzzy
c0d9d66825 Make cauldron infotexts more helpful 2023-07-01 19:14:48 +02:00
Wuzzy
219c6481bd Cauldrons now only accept fire as heat source 2023-07-01 18:42:04 +02:00
Wuzzy
52cb5b5afc Add cauldron with cold soup 2023-07-01 18:28:20 +02:00
Wuzzy
ec1e86e1ed Cobwebs are no longer liquids 2023-07-01 17:53:37 +02:00
Wuzzy
96f08824d4 Also clear chessboard inventories 2023-07-01 16:29:39 +02:00
Wuzzy
1be4aa3c69 Disable playable Chess games 2023-07-01 16:23:50 +02:00
Wuzzy
4fa3e5e6dc Improve side texture of rusty bar 2023-07-01 10:30:45 +02:00
Wuzzy
e37a327252 Add on_blast handlers 2023-07-01 09:35:43 +02:00
Wuzzy
ed78696a54 Fix missing inner/outer stair translation 2023-06-30 20:54:54 +02:00
Wuzzy
d76b478b9f Fix cut woodframe glass if workbench is off 2023-06-30 20:40:17 +02:00
Wuzzy
30c2e72849 Merge branch 'fuel' into bugfix_mania 2023-06-30 20:00:14 +02:00
Wuzzy
aba1624182 Merge branch 'better_glass_stair_textures' into bugfix_mania 2023-06-30 20:00:09 +02:00
Wuzzy
6675b19a0f Change some confusing/inconvenient recipes 2023-06-30 19:57:41 +02:00
Wuzzy
381e21b53d Rename some nodes to more logical names 2023-06-30 19:37:26 +02:00
Wuzzy
5599842005 Add wood frame side texture 2023-06-30 19:14:20 +02:00
Wuzzy
1d1dd915b7 Add fuel recipes 2023-06-30 19:00:59 +02:00
Wuzzy
376cdb015b Categorize doors as nodes in Creative 2023-06-30 18:55:44 +02:00
Wuzzy
b92a7e16b4 Fix typo: Baricade → Barricade 2023-06-30 18:49:28 +02:00
Wuzzy
43e028a425 Improve textures of cut [obsidian] glass 2023-06-30 18:37:21 +02:00
Wuzzy
5ae4204772 Improve cut woodframed glass textures 2023-06-30 18:10:12 +02:00
Wuzzy
4082115ae3 Make honey and cushion block visible in Creative 2023-06-30 15:25:18 +02:00
Wuzzy
7cfac351a6 Add missing rope sounds 2023-06-30 15:21:06 +02:00
Wuzzy
911cbafd46 Cleanup rope behavior in Creative Mode 2023-06-30 15:14:20 +02:00
Wuzzy
21d10bc945 Report protection violation w/ rope 2023-06-30 15:04:05 +02:00
Wuzzy
93e5c3c19d Fix rope, painting, lantern incompat w/ itemframe 2023-06-30 15:02:58 +02:00
Wuzzy
b490e31075 Add itemframe offset 2023-06-30 14:50:46 +02:00