jclaar / zork Goto Github PK
View Code? Open in Web Editor NEWFull C++-20 port of the 616-point version of Zork from MIT circa 1978-1981
Full C++-20 port of the 616-point version of Zork from MIT circa 1978-1981
A man page for Linux, Mac, any Unix operating system would be nice. Maybe base it from here:
https://github.com/devshane/zork/blob/master/dungeon.6
Zork crashes if the executable is not in the current path:
$ which zork
/usr/games/zork
$ ls zork
ls: cannot access 'zork': No such file or directory
$ zork
terminate called after throwing an instance of 'boost::process::process_error'
what(): execve failed: No such file or directory
Patch for upstream version from Bitbucket
--- mdlfun.cpp 2019-12-28 22:40:39.384126978 +0000
+++ mdlfun.cpp 2019-12-28 23:04:55.587833908 +0000
@@ -9,6 +9,7 @@
#pragma warning(disable: 4244)
#include <boost/process.hpp>
#pragma warning(default: 4244)
+#include <boost/dll.hpp>
std::string pw(SIterator unm, SIterator key);
std::string username();
@@ -54,7 +55,7 @@
// exit.
while (status == 1)
{
- boost::process::child c(argv[0], "-go");
+ boost::process::child c(boost::dll::program_location(), "-go");
c.wait();
status = c.exit_code();
}
I also needed to add libboost_filesystem.a and -ldl for the link step in the makefile.
Could you add support for left/right arrow keys to edit the command line in place and up/down arrows to access a command history?
https://u.pcloud.link/publink/show?code=XZtedOXZS9FFLIh4HHSGeYd7Dr8Rb8Juhfwk
Here is a link to download my digital copy of the finalized 616-point map. This is the map the original creators made back in the day, but unlike the usual copy this one has been completed with the later puzzles... and the quality is perfect, not that old aged copy.
Sorry to submit this as an issue but I couldn't find another way easily.
...Jeremy Kapp
P.S. This is super high resolution and the size is 36x24, the standard poster size. Fit's a poster frame if printed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.