Giter VIP home page Giter VIP logo

15puzzle's Introduction

#15puzzle

A year ago I started teaching myself C. This was one of my first play projects, which I ended up abandoning. If you want to work on it, good luck. Main is completed and commented now and the build is back in working order at least.

15puzzle's People

Contributors

glank avatar

Watchers

James Cloos avatar  avatar

15puzzle's Issues

Build failed

Hello @Glank
I tried to compile the project and I got:

15puzzle git:(master) make
cc -Wall -g zobrist.o board.o hash.o search.o main.o -o 15puzzle
hash.o: In function `newHashNode':
15puzzle/hash.c:12: undefined reference to `TOTAL_HASH_NODES'
15puzzle/hash.c:12: undefined reference to `TOTAL_HASH_NODES'
hash.o: In function `deleteHashNode':
15puzzle/hash.c:20: undefined reference to `TOTAL_HASH_NODES'
15puzzle/hash.c:20: undefined reference to `TOTAL_HASH_NODES'
search.o: In function `newSearchNode':
15puzzle/search.c:14: undefined reference to `TOTAL_SEARCH_NODES'
15puzzle/search.c:14: undefined reference to `TOTAL_SEARCH_NODES'
search.o: In function `deleteSearchNode':
15puzzle/search.c:33: undefined reference to `TOTAL_SEARCH_NODES'
15puzzle/search.c:33: undefined reference to `TOTAL_SEARCH_NODES'
collect2: error: ld returned 1 exit status
Makefile:7: recipe for target '15puzzle' failed
make: *** [15puzzle] Error 1

I have no idea how to fix it ๐Ÿ˜ž
You wish to continue with the project? And you could help me to build?

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.