{"id":26563918,"url":"https://github.com/ertugrulcetin/wizard-masters","last_synced_at":"2025-03-22T16:18:43.675Z","repository":{"id":283709141,"uuid":"952475038","full_name":"ertugrulcetin/wizard-masters","owner":"ertugrulcetin","description":"Spell based third-person shooter game","archived":false,"fork":false,"pushed_at":"2025-03-21T17:14:05.000Z","size":25818,"stargazers_count":20,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T18:25:40.763Z","etag":null,"topics":["babylonjs","clojure","clojurescript","gamedev","lisp","shooter"],"latest_commit_sha":null,"homepage":"https://wizardmasters.io","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ertugrulcetin.png","metadata":{"files":{"readme":"Readme.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-21T10:39:54.000Z","updated_at":"2025-03-21T17:40:13.000Z","dependencies_parsed_at":"2025-03-21T18:36:21.929Z","dependency_job_id":null,"html_url":"https://github.com/ertugrulcetin/wizard-masters","commit_stats":null,"previous_names":["ertugrulcetin/wizard-masters"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertugrulcetin%2Fwizard-masters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertugrulcetin%2Fwizard-masters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertugrulcetin%2Fwizard-masters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertugrulcetin%2Fwizard-masters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ertugrulcetin","download_url":"https://codeload.github.com/ertugrulcetin/wizard-masters/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244982055,"owners_count":20542301,"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","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":["babylonjs","clojure","clojurescript","gamedev","lisp","shooter"],"created_at":"2025-03-22T16:18:43.091Z","updated_at":"2025-03-22T16:18:43.664Z","avatar_url":"https://github.com/ertugrulcetin.png","language":"Clojure","funding_links":[],"categories":["Clojure"],"sub_categories":[],"readme":"# Wizard Masters\n\n![Wizard Masters](resources/public/img/loading-screen.png)\n\n## Overview\n\nWizard Masters is a multiplayer battle arena game where players control wizards with different elemental powers. Compete against other players in fast-paced magical combat, mastering spells and tactics to become the ultimate wizard.\n\n## Project Structure\n\nThe project consists of two main components:\n- **Client**: A ClojureScript frontend application using Shadow-CLJS and BabylonJS\n- **Backend**: A Clojure server using Leiningen, Firebase, and Redis (optional)\n\n## Prerequisites\n\nBefore running the project, ensure you have the following installed:\n\n- [Node.js](https://nodejs.org/) and NPM\n- [Leiningen](https://leiningen.org/) (required for running the backend)\n- [Java Development Kit (JDK)](https://adoptium.net/) (version 17 or newer recommended)\n\n## Installation and Setup\n\n### Client Setup\n\n1. Clone the repository\n2. Install dependencies:\n   ```\n   npm install\n   ```\n3. Start the development server:\n   ```\n   npm run watch\n   ```\n   This will compile the ClojureScript code and start a development server.\n\n### Backend Setup\n\n1. Navigate to the backend directory:\n   ```\n   cd backend\n   ```\n2. **Firebase Configuration**:\n   - Place your Firebase credentials (`firestore.json`) in the `resources/keys` folder\n   - The file should contain your Firebase service account information\n\n3. **Redis Configuration** (Optional):\n   - Update the Redis URI in `backend/src/clj/enion_backend/redis.clj`\n   - Look for the `my-conn-spec-1` definition and replace `[YOUR-REDIS-URI]` with your Redis URI\n\n4. Start the backend server:\n   ```\n   lein run\n   ```\n\n## Connecting to Production Servers\n\nIf you don't want to run the backend locally, you can connect the client to production servers by modifying the network configuration:\n\n1. Open `src/main/scene/network.cljs`\n2. Update the `get-api-url` and `get-ws-url` functions:\n   - Modify the conditions to always return the production URLs instead of the local development ones\n   - For example, set `config/dev?` to `false` or directly return the production URL\n\n## Development\n\n- The client uses Shadow-CLJS for ClojureScript compilation\n- The backend uses Leiningen for dependency management and running the server\n- Both components have hot-reloading capabilities for rapid development\n\n## License\nCopyright (c) 2025 Wizard Masters\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n© 2025 Wizard Masters. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fertugrulcetin%2Fwizard-masters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fertugrulcetin%2Fwizard-masters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fertugrulcetin%2Fwizard-masters/lists"}