Coder Social home page Coder Social logo

lvandeve / oopoker Goto Github PK

View Code? Open in Web Editor NEW
66.0 66.0 14.0 186 KB

OOPoker or "Object Oriented Poker" is an engine that runs Texas Hold'm games. You can play against bots, or let bots play against each other. No installer is provided, only the source, because the purpose is that you program your own bots in C++.

License: GNU General Public License v3.0

C++ 99.05% C 0.95%

oopoker's People

Contributors

lvandeve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oopoker's Issues

Fail compilation

Hi! Good implementation of poker. I had error of compilation.

ringo@qwerty:~/Загрузки/oopoker-master$ g++ *.cpp -W -Wall -Wextra -ansi -O3
random.cpp: In function ‘unsigned int getRandomUint()’:
random.cpp:69:5: error: ‘exit’ is not a member of ‘std’
     std::exit(1);
     ^~~

I add #include <cstdlib> in file random.cpp. I'm not programmer and I don't know what I made. But it help me. Please check out this. Maybe somebody have similar error.

Tried to compile code on linux and it failed

Undefined symbols for architecture x86_64:
"getDateString()", referenced from:
ObserverLog::ObserverLog(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in observer_log-f069ce.o
benchmarkEval7() in unittest-ee71ed.o
"getRandomUint()", referenced from:
getRandom() in random-ad984a.o
getRandom(int, int) in random-ad984a.o
seedRandomFastWithRandomSlow() in random-ad984a.o
"getCharNonBlocking()", referenced from:
HostTerminal::onFrame() in host_terminal-c49449.o
"getChar()", referenced from:
AIHuman::boastCards(Info const&) in ai_human-c721f0.o
HostTerminal::onGameDone(Info const&) in host_terminal-c49449.o
pressAnyKeyOrQuit() in io_terminal-73dc05.o
pressAnyKey() in io_terminal-73dc05.o
doGame() in main-ee5cc8.o
"getLine()", referenced from:
editOptions(Options&) in ai_human-c721f0.o
AIHuman::doTurn(Info const&) in ai_human-c721f0.o
doGame() in main-ee5cc8.o
runConsolePotEquityCalculator() in tools_terminal-7ca3ce.o
runConsoleShowdownCalculator() in tools_terminal-7ca3ce.o
"sleepMS(int)", referenced from:
AIHuman::onEvent(Event const&) in ai_human-c721f0.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

compilation issues in Visual Studio

Compiling errors have been reported in Visual Studio including C4566, C4099, C2146, C2365, C2061, C2059, C2065 (some may be indirect results of earlier errors). This includes errors about deprecated functions, which may require using _CRT_SECURE_NO_WARNINGS since the proposed replacements may not be standard C++

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.