Thread: How can I make a simple console chess game with C?

  1. #1
    Registered User
    Join Date
    Dec 2015
    Posts
    4

    How can I make a simple console chess game with C?

    I wanna make a simple chess game with C language on console. Can you make a simple one with 2 rocks, and an enemy king only? so one person has 2 rocks, the other has only a king? I will do the rest myself, but I wanna see the idea of it, so can you please make me the code of 2 rocks vs 1 king and both controlled by the user? (it says user one, and then user two).

    Thanks in advance

  2. #2
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    587
    Why do you bother teh codez from someone? It is a draw. Since "rocks" don't move on the board as they are solid immovable objects, the two kings will only have to maneuver around them rocks, at each other necks with no mating material.

    On a more serious note, show us what you have done so far with your code, so that people can comment or critique about it.

  3. #3
    Registered User
    Join Date
    Apr 2014
    Location
    New York
    Posts
    52
    I recommend going to Youtube and looking up "Chess Engine in C" by Bluefever Software. It shows step by step how to make a simple chess engine (although far more complicated than you requested).
    Here's a link (if allowed) https://www.youtube.com/watch?v=bGAf...EaOstZHVbT-2hg.
    I watched the first dozen or so videos, there's over 90. Very informative.

  4. #4
    Registered User
    Join Date
    Dec 2015
    Posts
    34
    it's possible to do something like this with ncurses.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to make a Console Save and Load Game
    By vitinho444 in forum C++ Programming
    Replies: 2
    Last Post: 02-19-2011, 10:32 AM
  2. Problems with a simple console game
    By DZeek in forum C++ Programming
    Replies: 9
    Last Post: 03-06-2005, 02:02 PM
  3. Trying to make a simple yazee game...
    By Dauthi in forum C++ Programming
    Replies: 5
    Last Post: 01-14-2003, 03:26 PM
  4. My CHESS Game..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 12-03-2002, 03:22 PM
  5. Whats a very simple but good game i can try to make?
    By bluehead in forum C++ Programming
    Replies: 2
    Last Post: 11-06-2001, 09:24 PM

Tags for this Thread