Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solution #2480

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

solution #2480

wants to merge 1 commit into from

Conversation

bogemna
Copy link

@bogemna bogemna commented Aug 6, 2023

No description provided.

Copy link

@serkrops serkrops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link

@roman-mirzoian roman-mirzoian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done, but don`t forget about good code formating.

x: 0,
y: 0,
},
get info() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
get info() {
get info() {

+ `wheels: ${this.wheels}`
);
},
get location() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
get location() {
get location() {

get location() {
return `${this.name}: x=${this.coords.x}, y=${this.coords.y}`;
},
goForward(step = 1) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
goForward(step = 1) {
goForward(step = 1) {


return this;
},
goBack(step = 1) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
goBack(step = 1) {
goBack(step = 1) {


return this;
},
goRight(step = 1) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
goRight(step = 1) {
goRight(step = 1) {


return this;
},
goLeft(step = 1) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
goLeft(step = 1) {
goLeft(step = 1) {


return this;
},
evacuate() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
evacuate() {
evacuate() {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants