Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-platform support #52

Closed
ralismark opened this issue Oct 22, 2017 · 2 comments
Closed

Cross-platform support #52

ralismark opened this issue Oct 22, 2017 · 2 comments

Comments

@ralismark
Copy link

It should be possible to make this game cross-platform. This would require using a different build system (e.g. CMake), as well as replacing uses of the windows API. From a brief view, it appears that it's only used for:

  • console rendering
  • input (with _getch)
  • sleeping (easily replaceable with std::this_thread::sleep_for)

Console input/output could possibly be replaced with ncurses/pdcurses. Alternatively, ncurses could be used on Linux while still having windows API on windows with ifdef's.

@joealam
Copy link
Contributor

joealam commented Oct 22, 2017

I'm currently working on this and have it almost ready to go.

@tagniam
Copy link
Owner

tagniam commented Oct 28, 2017

Addressed by #57, #58 and #60. Thanks @joealam!

@tagniam tagniam closed this as completed Oct 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants