Code Monkey home page Code Monkey logo

Comments (6)

nikhiljangra264 avatar nikhiljangra264 commented on August 25, 2024 1

I think the main issue is when you are clearing the display after start button.
( can you please mention the specific code that does this )
This is screencast of the program
Screencast from 09-05-24 12:40:34 PM IST.webm

from chess-cli.

rikkoder avatar rikkoder commented on August 25, 2024

I just tested it on an ubuntu based system, I couldn't reproduce the issue.
Can you try deleting build files and recompiling by running make. Also can you tell me the ncurses libraries installed on your system. (apt list --installed *ncurses*)

from chess-cli.

nikhiljangra264 avatar nikhiljangra264 commented on August 25, 2024

The issue still persist after rebuilding the program. Here is the output of apt list --installed *ncurses*

Listing... Done
libncurses-dev/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 amd64 [installed,automatic]
libncurses5-dev/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 amd64 [installed]
libncurses6/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 amd64 [installed,automatic]
libncursesw5-dev/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 amd64 [installed]
libncursesw6/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 amd64 [installed,automatic]
ncurses-base/jammy-updates,jammy-updates,jammy-security,jammy-security,now 6.3-2ubuntu0.1 all [installed]
ncurses-bin/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 amd64 [installed]

from chess-cli.

rikkoder avatar rikkoder commented on August 25, 2024

can you share a picture of the board ? is the window completely blank or only pieces are missing ?
if only pieces are not showing you can try pressing 'a' which will change the pieces into ascii character (like 'N' for Knight)

from chess-cli.

rikkoder avatar rikkoder commented on August 25, 2024

can you try the latest commit on your machine ?
if you want to debug yourself ig what u want to look at is main_menu.c file, game_settings_menu func call is where the options are set and init_game func call starts the game.
if still the prob exists can u tell me if u r able to open load menu ?

from chess-cli.

nikhiljangra264 avatar nikhiljangra264 commented on August 25, 2024

it's working but only if the terminal size above a specific size
but resizing cause segmentation fault.
Screenshot from 2024-05-13 14-25-06

from chess-cli.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.