This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Started at :2015-03-15 19:01:00 | |
#### | |
## Handling ELPS [islaa] | |
#### | |
# Cloning project from remote repository: OK | |
# Opening project islaa | |
# Building using Maven [clean package]: OK | |
## \o/ Delivery OK \o/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Started at :2015-03-08 19:01:40 | |
#### | |
## Handling ELPS [islaa] | |
#### | |
# Cloning project from remote repository:OK | |
# Opening project islaa | |
# Building using Maven [clean package]: OK | |
## \o/ Delivery OK \o/ | |
# pom.xml/groupId == [fr.unice.polytech.ogl]: OK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Started at :2015-03-01 18:17:10 | |
#### | |
## Handling ELPS [islaa] | |
#### | |
# Cloning project from remote repository: OK | |
# Opening project islaa | |
# Building using Maven [clean package]: OK | |
## \o/ Delivery OK \o/ | |
# pom.xml/groupId == [fr.unice.polytech.ogl]: OK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Timeout { | |
import scala.concurrent._ | |
import duration._ | |
import ExecutionContext.Implicits.global | |
def timeout[T](clock: Int)(block: => T): T = { | |
val future = Future { block } | |
Await.result(future, clock.milliseconds) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package fr.unice.polytech.ogl.islxx; | |
import eu.ace_design.island.bot.*; | |
public class Explorer implements IExplorerRaid { | |
@Override | |
public void initialize(String context) { | |
throw new UnsupportedOperationException("IExplorerRaid::initialize is not yet implemented"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>fr.unice.polytech.ogl</groupId> | |
<artifactId>islxx</artifactId> <!-- CHANGE ME --> | |
<version>0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>ISLXX :: Nom de l'equipe</name> <!-- CHANGE ME --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.io.StdIn | |
object ElephantCarpaccio extends App { | |
val nbHats = StdIn.readLine("nbHats>").toInt | |
println(s"Selling $nbHats items") | |
val price = StdIn.readLine("price>").toFloat | |
println(s"Price per item is set to $$$price") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"vertices":[[0,246.42596206402408,0],[13.237969827334558,238.6052237327179,0],[15.09167849584305,226.05186303148696,0],[0,219.8051619040442,0],[6.239963254644136,232.47854493470317,0],[0,172.11601969539822,0],[11.026621087466113,167.7139505528935,0],[12.329162664607903,151.14185019763522,0],[9.986487973831494,149.25422585967576,0],[0,147.24511591965992,0],[5.511248877513007,159.04388649442274,0],[0,67.14580081634828,0],[13.553399612832058,58.991425894693464,0],[8.506402979139084,47.94841826534442,0],[0,45.81343036305573,0],[5.151182793755728,55.887457259594065,0],[16.28786987614692,41.703707281222364,0],[9.81526147408988,32.18928883723294,0],[0,34.74855107174819,0],[6.978188149308051,40.22034785472737,0],[13.969212769444688,25.435164140762936,0],[1.7224575911406683,14.8917240583605,0],[0,14.55411196841258,0],[5.196975355422819,25.57882856396395,0],[14.57068461657617,25.282785217375995,0],[21.868180736003993,14.345622252927487,0],[17.42452257909154,8.375948800971802,0],[12.994312125088511,16.269577899919256,0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### | |
## Island 3d model (OBJ compliant file) | |
## Automatically generated by the [OBJViewer] transformation process | |
#### | |
#### | |
## Vertices registry | |
#### | |
v 0.0 543.940833320065 0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Island universe | |
*/ | |
import eu.ace_design.island.{PointGenerator, RandomGrid, SquaredGrid} | |
val MAP_SIZE = 800 | |
val generators: Map[String,PointGenerator] = Map( | |
"RANDOM" -> new RandomGrid(MAP_SIZE), | |
"SQUARE" -> new SquaredGrid(MAP_SIZE) | |
) |