- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Badges
No badges earned
Activity overview
Latest activity by Michael Reilly-
Michael Reilly commented,
(That code DOES work, not sure why but happy and sharing.)
-
Michael Reilly commented,
places = [] start: Position = None nextPlace: Position = None agent.teleport(pos(0, 0, 1), SOUTH) start = agent.get_position() for x in range(3): agent.move(FORWARD, 1) nextPlace = agent....
-
Michael Reilly created a post,
Create a List of Positions
Hi! One lesson I've been looking at creating is coding the agent to create and play TicTacToe. At the heart of it, I thought you could call the Agent in front of you, face a specific direction (le...
-
Michael Reilly commented,
I should be more clear (I tend not to be sometimes). Imagine a closed room of 100 chickens. I break some blocks to create an opening. As chickens pass through the coordinates of that door (we ca...
-
Michael Reilly commented,
Thanks for the comment. I don't need an actual door, testing coordinates is a great suggestion for passing through an opening.
-
Michael Reilly created a post,
Detect mob passing with Python?
Hi! Student asked me about detecting when a mob passes through a door, and if so, adds an item like GOLD to inventory. I'm teaching Python, looking for tips on that. I have been experimenting wi...
-
Michael Reilly commented,
I deleted the Islands 5 world, restarted it. Nothing was working, no text showing, etc., but I added an "else" to my statements, and they worked. Not sure what data that the world was giving to m...
-
Michael Reilly commented,
Here you go, thanks for the quick response. The previous steps build the learner up to learning functions, the previous step just included an "if" within the function, this is the first "elif". T...
-
Michael Reilly created a post,
Python Islands 5 if-elif not working
In Python Islands 5 all works until you get to the if-elif portion in the Computer Science area. I'm proficient in Python, have checked all syntax, but not working. I also suggest teaching about...