[Pharo-users] [ANN] Round 2 Results Are In

2020-02-15 Thread Richard Kenneth Eng
https://youtu.be/B2pNMKuuyKw Watch the robot 'A' as it manoeuvres around the board following the team's prescribed strategy. The robot consumes the energy value of each cell it enters. The cells in blue have *negative *energy values! The object is to maximize the score. The winning team comes fro

Re: [Pharo-users] can I write this without the three if then;s

2020-02-15 Thread Richard O'Keefe
Start with scoreX: anInteger y: anInteger2 | distance | distance := (anInteger squared + anInteger2 squared) sqrt. distance > 10 ifTrue: [ ^ 0 ]. distance > 5 ifTrue: [ ^ 1 ]. distance > 1 ifTrue: [ ^ 5 ]. ^ 10 (1) Use better argument names. (2) Forg

[Pharo-users] Developing on Mac Catalina 10.15

2020-02-15 Thread Maximiliano Tabacman via Pharo-users
--- Begin Message --- Hi. The Pharo application I developed is offered to users in Windows, Linux and macOS based on the three VMs available on the Pharo website.I basically download the VM, add my image and some resources, rename stuff and put a nice icon, and it's ready to be deployed.Now, sin