Home | Rules and Guide | Sign In/Create Account | Write a Post | Reddit | #LD48 | #ludumdare on irc.afternet.org (Info)

Ludum Dare 30 — August 22nd-25th 2014 — Theme: ??? (VOTE NOW!)
  • Ludum Dare 30 Begins: in 2 days, 8 hours, 27 minutes, 2 seconds
  • [ Real World Gatherings | Ludum Deals | Warmup Weekend (Get Ready for LD!) | MiniLD #53 ]


    Ludum Dare 23

    April 20th-23rd 2012 :: 10 Year Anniversary! :: Theme: Tiny World

    Back to Browse Entries

    Tiny Shogi 48 - Codexus - 48 Hour Compo Entry

    I wanted to play shogi instead of doing the LD so I made an implementation of the minishogi variant of shogi (Japanese chess). :D

    You can play against the computer, it's not the greatest AI ever but it does a standard minimax and can be challenging. At the highest level, having lots of captured pieces can slow down the AI a lot.

    Some info about minishogi and shogi on wikipedia:
    http://en.wikipedia.org/wiki/Minishogi
    http://en.wikipedia.org/wiki/Shogi

    I have not used the Japanese characters to make the game more accessible. Instead I've used diagrams that show how the piece moves. I hope they are understandable.

    *UPDATE*

    MINI-HOW TO PLAY:
    So this is basically a variant of chess. The goal is to capture the opponent's king. You have to actually take the king since I didn't implement checkmate.

    The pieces are from left to right: King, Gold general, Silver general, Bishop and Rook. On the second row in front of the king there is a Pawn.

    Rather than use the Japanese characters like normal shogi, I've made diagrams of how each piece moves. Normal line means one step in that direction, an arrow means as many steps as required.

    Like chess you capture by moving on the square occupied by an opponent's piece. You cannot jump over pieces. Unlike chess the pawn has no special capture move.

    In shogi, captured pieces can be moved back into play on any empty square. This counts as your turn. The only restriction is that the pawn can't be dropped on the last row (since it couldn't move).

    Promotion: Most pieces (all except gold general and king) can be promoted if they move to, from or inside the promotion zone. In minishogi the promotion zone is the row furthest away from you (like in chess).

    Pawn and Silver move like Gold when promoted.
    Rook and Bishop gain an extra one step move in the directions they don't move normally.

    Promoting a piece is optional except for the pawn (since it would have no move left if left unpromoted). But most of the time it's a good idea to do it. Pieces always revert to their unpromoted state when captured.

    For experienced shogi players: I didn't implement special rules to forbid two pawns on the same column and or giving checkmate with a dropped pawn, so you can use those should they happen in a game. They don't really matter for minishogi anyway.

    That's all ;)

    BUG FIX: I've made a little bug fix in the submission hour: the AI would sometimes resign suddenly. That was not intended and could confuse and frustrate players trying to learn the game so it will always play a move if possible.

    I used Unity, coded in C#, made the graphics with Modo, ZBrush, FilterForge and Photoshop, sounds with SFXR and music with Autotracker and Reason.

    --== Please leave me a comment when you rate, thank you for playing my game ==--

    View Codexus's journal. | View all entries by Codexus

    Ratings

    Coolness71%
    #32Graphics4.21
    #231Overall3.32
    #265Fun3.11
    #327Audio2.73
    #333Mood2.83
    #426Humor2.22
    #623Innovation2.54
    #790Theme2.19

    Comments

    dray says ...
    Apr 24, 2012 @ 9:16am

    I can't juge the difficulty of the AI or the game because it's the first time i played Shogy but the game feel pretty solid, with very great art. Good job !

    john_conder9 says ...
    Apr 24, 2012 @ 10:10pm

    I think it's a very, very interesting way to implement the theme. I've never played shogi before but I toyed around with it, seems fun. Top notch art and sound though!

    netmute says ...
    Apr 25, 2012 @ 7:51pm

    You made this in 48 hours? I have to build you a shrine or something :)

    Really good game! Better than some stuff that is sold.

    TellusE says ...
    Apr 25, 2012 @ 7:53pm

    I dug the graphics - smooth, all the way. Kept trying to beat the computer as well. An idiot is me.

    Jhelle says ...
    Apr 25, 2012 @ 7:58pm

    Great job on the graphics, best I have seen so far. Also digging your theme interpetation

    MrPhil says ...
    Apr 25, 2012 @ 8:03pm

    Art is good. I like that the piece have icons on them that tell me what they do. I don't think I could have played with out that touch.

    Benjamin says ...
    Apr 25, 2012 @ 8:05pm

    Nice game. I could finally learn shogi thanks to you ! You should have add some move steps or pauses when your piece is taken just after your move, the first time it happens I was confused.

    Apr 25, 2012 @ 8:24pm

    Did you just make... Chess? Interesting move. (Ha! That was a chess-metaphor)

    Nice graphics, especially the texture-work. Having both tile-sets be chese doesn't work though, and having them both be symbols-only doesn't either. (Cheese-wedge! Cheese-roll! Cheese-slice! Cheese-with-grape-thing!)

    Codexus says ...
    Apr 25, 2012 @ 8:52pm

    Thanks everyone.

    matthias, in shogi both players use the same pieces since you can use your opponent's pieces. For the textures I rely a lot on generators (FilterForge in my case) but I try to customize and tweak them a bit in Photoshop when possible.

    benjamin, yeah I noticed that, I wish I could have fixed it quickly.

    gregdevice says ...
    Apr 26, 2012 @ 7:03pm

    Nice work, will have to keep playing to understand the game. I like how you themed it (mouse & cheese) to make it more interesting.

    chinchang says ...
    Apr 26, 2012 @ 7:04pm

    damn awesome art there! i m luv with this game. freakin cool :)

    Jack says ...
    Apr 26, 2012 @ 7:14pm

    really excellent fun, with great graphics. The AI is actually pretty good, no matter what degrading names you call it :P I can see by the addition of the mouse what a last-minute consideration the theme was, but the solidness of the mechanics, interface and graphics made up for it

    racarate says ...
    Apr 26, 2012 @ 8:32pm

    Thanks for introducing me to a new game! I liked your implementation, though it ran somewhat sluggishly on my machine (2011 mac mini). Bonus points for creepy mouse. My one complaint would be that it was really hard to tell why I was captured. I'm not sure if that is because the animation happened so fast or what. Everything looked pretty nice (save the 'YOU LOSE' graphic), it really set a tranquil feel.

    Chinchilla says ...
    Apr 26, 2012 @ 8:52pm

    This is AMAZING. I love the title music, the graphics, the game, everything! I didn't even have to look at any instructions to figure out how to play (I've never actually heard of shogi until now). Unbelievably good entry!

    Codexus says ...
    Apr 26, 2012 @ 9:17pm

    As Benjamin and racarate have noticed, when your piece is captured immediately you don't see it reach the square you clicked (at least on the lower AI levels). It's one of those little things I wish I had fixed.

    Thank you all for the great feedback!

    Apr 27, 2012 @ 11:05pm

    I'd really like to play this but the links are broken for me.

    Codexus says ...
    Apr 27, 2012 @ 11:10pm

    It looks like my host was down for a few minutes >_<, please try again :)

    Hegemege says ...
    Apr 28, 2012 @ 11:27am

    Amazing work with the graphics! Ai could've been better (I've never played shogi and managed to beat him always, but I'm an experienced chess player on the other hand...)

    Keep up with the good work, I'd love to see more advanced AI for this :)

    rik says ...
    Apr 28, 2012 @ 12:05pm

    Pretty interesting. Nice graphics.. Piece designs could've been a bit more intuitive (although I appreciate them not being Japanese characters).

    Apr 28, 2012 @ 8:16pm

    I found this quite enjoyable. The AI was just the right level for me as I've played chess before but suck at it. I managed to beat the AI at least once which was very satisfactory.

    The 3d models were really nice but could use some animation. The particle effect did a lot to help with that but I found that it became annoying at times. Maybe it would be possible to have the particles in the background?

    Anyway, I'll have to try this with a friend, it was fun! :)

    Suese says ...
    Apr 29, 2012 @ 4:27am

    It ran too slow to bear even on the lowest settings. Which is strange because I've been able to play most other unity entries on medium settings.

    dr_soda says ...
    May 10, 2012 @ 6:28am

    I can't remark on Shogi as a game so I can't say how true you were to it. The game was nice up until I won a round and then my computer died in a ball of molten agony. I can't know if it was this game that caused it but I think I'll skip the rematch.

    Those are some sweet models. The board and game pieces have very nice textures as well.

    johanp says ...
    May 13, 2012 @ 9:59am

    Looks like a really interesting game. Nice implementation!

    You must sign in to comment.


    All posts, images, and comments are owned by their creators.

    [cache: storing page]