{"id":19569011,"url":"https://github.com/d6y/scala-robot-dev","last_synced_at":"2025-07-31T18:33:13.245Z","repository":{"id":136158059,"uuid":"43884688","full_name":"d6y/scala-robot-dev","owner":"d6y","description":"Robocode Robot Development ","archived":false,"fork":false,"pushed_at":"2015-10-09T19:29:44.000Z","size":280,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-09T01:59:48.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d6y.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-08T11:45:02.000Z","updated_at":"2022-04-11T06:29:18.000Z","dependencies_parsed_at":"2023-03-13T12:02:16.508Z","dependency_job_id":null,"html_url":"https://github.com/d6y/scala-robot-dev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d6y%2Fscala-robot-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d6y%2Fscala-robot-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d6y%2Fscala-robot-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d6y%2Fscala-robot-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d6y","download_url":"https://codeload.github.com/d6y/scala-robot-dev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240832374,"owners_count":19864922,"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":[],"created_at":"2024-11-11T06:07:16.926Z","updated_at":"2025-02-26T10:21:16.440Z","avatar_url":"https://github.com/d6y.png","language":"Scala","funding_links":[],"categories":["Scala"],"sub_categories":[],"readme":"# Simple Scala Set Up for Robocode\n\nThis is a Scala project in which you can write and compile Robocode robots.\n\nTo then be able to run them in Robocode itself, there are two things to do:\n\n1. Add the Scala library as a dependency to the robotcode shell script; and\n\n2. Add your _target/classes_ path to the \"Developer Options\" in Robocode itself.\n\nDetails below.\n\nOnce you've done that you can `sbt` and `compile` away.  You can restart a battle in Robocode and it appears to pick up changes.\n\nThis repository contains a _sample.ScalaMyFirstRobot_ which is the same as _MyFirstRobot_ but syntactically ported to Scala.\n\n## Scala library\n\nIn my installation of _robocode_, I coped  _robocode.sh_ and added in the path to Scala std lib:\n\n    robocode$ cat scalarobocode.sh\n    #!/bin/sh\n    #\n    # Copyright (c) 2001-2014 Mathew A. Nelson and Robocode contributors\n    # All rights reserved. This program and the accompanying materials\n    # are made available under the terms of the Eclipse Public License v1.0\n    # which accompanies this distribution, and is available at\n    # http://robocode.sourceforge.net/license/epl-v10.html\n    #\n\n    export SCALA_LIB=$HOME/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.7.jar\n    pwd=`pwd`\n    cd \"${0%/*}\"\n    java -Xmx512M -cp libs/robocode.jar:$SCALA_LIB robocode.Robocode $*\n    cd \"${pwd}\"\n\n## Robocode Developer Options\n\nAfter launching Robocode, select _Options_ \u003e _Preferences_, and in _Developer Options_, hit _Add_ and pick the path to your compiled robots:\n\n![prefs](https://api.monosnap.com/rpc/file/download?id=3UmtafwiylYHVBqwObVYbUlGJH1N5B)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd6y%2Fscala-robot-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd6y%2Fscala-robot-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd6y%2Fscala-robot-dev/lists"}