Re: [racket-users] snake game

2019-01-28 Thread orenpa11
Thanks Or On Saturday, January 26, 2019 at 10:04:45 PM UTC+2, Matthias Felleisen wrote: > > > This is a working PB program: > > (require test-engine/racket-tests) > (require 2htdp/image) > (require 2htdp/universe) > > (big-bang 100 > (to-draw (lambda (x) (circle (+ x 1) 'solid 'red))) >

Re: [racket-users] snake game

2019-01-26 Thread Matthias Felleisen
This is a working PB program: (require test-engine/racket-tests) (require 2htdp/image) (require 2htdp/universe) (big-bang 100 (to-draw (lambda (x) (circle (+ x 1) 'solid 'red))) (on-tick sub1) (stop-when zero?)) (test) Now please do the rest of your homework yourself. > On Jan 26,

Re: [racket-users] snake game

2019-01-26 Thread orenpa11
Hi Matthias , I am sorry but I still did get it. should I import the snake file that was written in "Beginning Student with List Abbreviations" and the code will be chnaged to pretty big ? or only the "check-expect" is been chnaged from "Beginning Student with List Abbreviations" to pretty

Re: [racket-users] snake game

2019-01-25 Thread Matthias Felleisen
See below. I gave precise instructions. > On Jan 25, 2019, at 10:27 AM, orenpa11 wrote: > > OK, > Got it , but how can I import the code of the snake program that was written > in "Beginning Student with List Abbreviations" and chnage it to pretty big ? > > > On Friday, January 25,

Re: [racket-users] snake game

2019-01-25 Thread Robby Findler
You've opened the right dialog. Now type "test-" into it. You should see the file appear. Click on it. Robby On Fri, Jan 25, 2019 at 7:53 AM orenpa11 wrote: > > Hi, > Sorry but I did not get it. > should I add the path to the rkt file or add the code ? > > Thanks, > Or > > On Friday, January

Re: [racket-users] snake game

2019-01-25 Thread orenpa11
Hi, Sorry but I did not get it. should I add the path to the rkt file or add the code ? Thanks, Or On Friday, January 25, 2019 at 1:39:12 PM UTC+2, Matthias Felleisen wrote: > > > DrRacket -> File -> Open Require Path -> enter test- -> use mouse > > > On Jan 24, 2019, at 11:11 PM, orenpa11 > >

Re: [racket-users] snake game

2019-01-25 Thread Matthias Felleisen
DrRacket -> File -> Open Require Path -> enter test- -> use mouse > On Jan 24, 2019, at 11:11 PM, orenpa11 wrote: > > Hi > where can I find the test-engine ? > I would like to copy the code and "play" with it. > So I can understand it better . > just copying the code is not helpful

Re: [racket-users] snake game

2019-01-24 Thread orenpa11
Hi where can I find the test-engine ? I would like to copy the code and "play" with it. So I can understand it better . just copying the code is not helpful because I need to understand it. Thanks, Or On Thursday, January 24, 2019 at 11:54:34 PM UTC+2, Matthias Felleisen wrote: > > > Yes

Re: [racket-users] snake game

2019-01-24 Thread Matthias Felleisen
Yes there is. Use (require test-engine/racket-tests) at the top and (test) at the bottom. But it sounds like you’re copying and pasting homework solutions. Hmph. > On Jan 24, 2019, at 3:44 PM, orenpa11 wrote: > > Hi Matthias , > Unfortunately I need to write the project in pretty big

Re: [racket-users] snake game

2019-01-24 Thread orenpa11
Hi Matthias , Unfortunately I need to write the project in pretty big language. The game is not written in pretty big language as far as I know. I thought that can copy andycode that was written in any language in racket to pretty big. Is there a way to transfer code that was written in

Re: [racket-users] snake game

2019-01-24 Thread Matthias Felleisen
Where did you find the snake game? Where did it say it’s written in Pretty Big? We have not used Pretty Big in over a decade in education, neither does anyone in the Racket edu community proper. This community supports people readily wth answers, but we need to know what you know. —

Re: [racket-users] snake game

2019-01-24 Thread George Neuner
On 1/24/2019 12:56 PM, orenpa11 wrote: I need to create a project in pertty big . why this code is not been supported ? "Pretty Big" is supported.   - go to the Language menu   - select "Choose Language"   - go down to "Other Languages" If you don't see a list under "Other Languages", click

Re: [racket-users] snake game

2019-01-24 Thread orenpa11
Hi I need to create a project in pertty big . why this code is not been supported ? Thanks, Or On Thursday, January 24, 2019 at 3:29:11 PM UTC+2, Kieron Hardy wrote: > > The language you should be using is "Beginning Student with List > Abbreviations". > > On Jan 24, 2019, at 4:33 AM, orenpa11

Re: [racket-users] snake game

2019-01-24 Thread Kieron Hardy
The language you should be using is "Beginning Student with List Abbreviations". > On Jan 24, 2019, at 4:33 AM, orenpa11 wrote: > > Hi, > when I removed the line > #reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) > (read-case-sensitive #t) (teachpacks ()) (htdp-settings

Re: [racket-users] snake game

2019-01-24 Thread orenpa11
Hi, when I removed the line #reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #f #t none #f ( And changed the language to pretty big. I recived this error: Welcome to DrRacket,

Re: [racket-users] snake game

2019-01-23 Thread orenpa11
Thanks On Wednesday, January 23, 2019 at 10:49:01 PM UTC+2, Kieron Hardy wrote: > > It seems the metadata lines added by DrRacket (mentioned by John) are > processed when the a source file is loaded into DrRacket (via the menu > option File/Open), but are not processed if the source code is

Re: [racket-users] snake game

2019-01-23 Thread orenpa11
Thanks I will check it. On Wednesday, January 23, 2019 at 9:32:56 PM UTC+2, Kieron Hardy wrote: > > Hello Or, > > The language is not "Pretty Big". > > You should be using "Beginning Student with List Abbreviations". > > The DrRacket metadata lines referred to by John set the correct language.

Re: [racket-users] snake game

2019-01-23 Thread K H
It seems the metadata lines added by DrRacket (mentioned by John) are processed when the a source file is loaded into DrRacket (via the menu option File/Open), but are not processed if the source code is directly copied (e.g. from a browser window) into a DrRacket window and then executed with the

Re: [racket-users] snake game

2019-01-23 Thread K H
Hello Or, The language is not "Pretty Big". You should be using "Beginning Student with List Abbreviations". The DrRacket metadata lines referred to by John set the correct language. In your case you must have changed the language somehow. Or perhaps the file needs to be saved before the

Re: [racket-users] snake game

2019-01-23 Thread 'John Clements' via Racket Users
Interesting problem; your screenshot shows header text that should not appear in the window, which suggests to me that you copied and pasted the text from somewhere else into a buffer where the language level was already set. It looks to me like you should do the following: 1) Delete the first

Re: [racket-users] snake game

2019-01-23 Thread orenpa11
Hi David, Thanks for your swift response ,I simply do not know how to run this program. I thought that when I press the run button I should see the snake GUI . Maybe the language is not pretty big ? Thanks, Or On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs wrote: > > What

Re: [racket-users] snake game

2019-01-23 Thread David Storrs
What happens when you run it? Are you getting any error messages? On Wed, Jan 23, 2019 at 1:01 PM orenpa11 wrote: > > Hi > I am trying to implemet this code of "snake game " > https://course.ccs.neu.edu/csu211/code/snake-full.ss > > in DrRacket (Pretty big) > But when I run it it is not

Re: [racket-users] Snake game icons

2016-11-12 Thread Matthias Felleisen
> On Nov 12, 2016, at 4:46 PM, Charles Parker wrote: > > Reading "Realm of Racket" and trying the Snake Game exercise. Where can I > find the graphics for use in my program? > > Thanx ... Charlie It’s advertised in the book as collects/realm/chapter6 (I believe, no