{"id":15570918,"url":"https://github.com/mjs/pyweek11-cube","last_synced_at":"2025-08-19T03:06:54.408Z","repository":{"id":29706982,"uuid":"33249852","full_name":"mjs/pyweek11-cube","owner":"mjs","description":"Automatically exported from code.google.com/p/pyweek11-cube","archived":false,"fork":false,"pushed_at":"2015-04-01T13:46:12.000Z","size":8104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-18T22:53:58.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"code-xp-front/post-it","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mjs.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-01T13:43:12.000Z","updated_at":"2015-04-01T13:44:37.000Z","dependencies_parsed_at":"2022-08-17T20:15:23.502Z","dependency_job_id":null,"html_url":"https://github.com/mjs/pyweek11-cube","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mjs/pyweek11-cube","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjs%2Fpyweek11-cube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjs%2Fpyweek11-cube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjs%2Fpyweek11-cube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjs%2Fpyweek11-cube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjs","download_url":"https://codeload.github.com/mjs/pyweek11-cube/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjs%2Fpyweek11-cube/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271093032,"owners_count":24697915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T17:49:32.628Z","updated_at":"2025-08-19T03:06:54.373Z","avatar_url":"https://github.com/mjs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"A game written for PyWeek #11, the 'write a game in Python in a week'\r\ncompetition. pyweek.org\r\n\r\nYou have been CAUGHT! Can you escape from this fiendish trandimensional puzzle\r\nspace?\r\n\r\nKeys:\r\n    W A S D - forward left right back\r\n    Up Down - up down, when you are granted the ability to move vertically\r\n              (moving vertically never actually happens)\r\n\r\nMost ideas are unfinished. It's pretty much just a cube moving around a 3D\r\nmaze, with some funky music. :-(\r\n\r\n\r\nDEPENDENCIES\r\n------------\r\n\r\nTo be able to run, first you'll need:\r\n\r\n    Windows or Linux (maybe Macs too, I haven't tried)\r\n    Python 2.6 or 2.7 (from python.org)\r\n    Pyglet 1.1.4 (easy_install or pip works, or from pyglet.org)\r\n        with AVBin if you want sound and music.\r\n\r\nAVBin is included in the Windows binary download of Pyglet. Otherwise you'll\r\nhave to download it from here:\r\nhttp://code.google.com/p/avbin/downloads/list\r\n\r\n\r\nRUNNING THE GAME\r\n----------------\r\n\r\nRun from the command line using:\r\n\r\n    python -O run.py [options]\r\n\r\nWhere options are:\r\n\r\n    --vsync, enables vsync\r\n    --windows or -w, run windowed instead of fullscreen\r\n    --print-fps, print fps to stdout on exit\r\n    --fps, display fps on screen\r\n\r\nAs always for pyglet / OpenGL programs, the -O flag is important, it can\r\ngreatly improve the framerate.\r\n\r\n\r\nDEVELOPMENT\r\n-----------\r\n\r\nSee the TODO.rst for future ideas.\r\n\r\nThe program spits out a logfile 'CaughtCube-debug.log'.\r\n\r\nAlso I have some simple commands stored in a Makefile, which I run under Linux\r\nor under Windows with Cygwin binaries on the PATH. If you're on Windows but\r\ndon't have make or Cygwin, open up the Makefile. The commands in there are\r\ngenerally simple, hopefully you can figure out how to do the same thing on your\r\nown system.\r\n\r\n\r\nPROFILING\r\n---------\r\n\r\nFor profiling, I'm using the standard library cProfile, with 3rd party tool\r\n'RunSnakeRun' to draw the output graphically.\r\n\r\n    make profile\r\n\r\nwill run the script under the profiler, then run RunSnakeRun on the output.\r\n\r\nRunSnakeRun is installed using: ``easy_install RunSnakeRun`` (or pip) or\r\ndownload from:\r\n\r\n * http://www.vrplumber.com/programming/runsnakerun/\r\n\r\nRunSnakeRun also needs:\r\n\r\n * SquareMap: ``easy_install SquareMap`` (or pip)\r\n * wxPython from http://www.wxpython.org/download.php#binaries\r\n\r\nCurrently runs under Windows at 60fps on my modest 2005-era Thinkpad T60 laptop\r\n(ATI Radeon X1400).\r\n\r\n\r\nTHANKS\r\n------\r\n\r\nThanks to both Alex Holkner and Richard Jones for pyglet, Euclid, and PyWeek,\r\nwhich have transformed my hobbyist game coding. We all owe you, big time.\r\n\r\nThanks to Chris DeLeon, for advice, moral support, and examples of how to do it\r\nright.\r\n\r\nMusic is I Wonder If God Was Sleeping (Transcendence Edit),\r\n(cc) 2008 scottaltham\r\nLicensed to the public under http://creativecommons.org/licenses/by-nc/3.0/\r\nVerify at http://ccmixter.org/files/scottaltham/18129\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjs%2Fpyweek11-cube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjs%2Fpyweek11-cube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjs%2Fpyweek11-cube/lists"}