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

Non-public classes in CBot #697

Open
krzys-h opened this issue Dec 25, 2015 · 7 comments
Open

Non-public classes in CBot #697

krzys-h opened this issue Dec 25, 2015 · 7 comments

Comments

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Dec 25, 2015

For some use cases it might be nice to have non-public classes in CBot. That would prevent naming conflicts between programs (or multiple instances of the same program).

@immibis
Copy link
Contributor

@immibis immibis commented Nov 18, 2017

I would like to see public classes not exist actually, it makes no logical sense for multiple robots to share their RAM.

However that would break stuff from the original game.

@cbot-coder
Copy link

@cbot-coder cbot-coder commented Dec 14, 2020

Public classes have a use: to share info between bots

@immibis
Copy link
Contributor

@immibis immibis commented Dec 18, 2020

@cbot-coder I don't care. It makes no logical sense for different robots to share their RAM.

@melex750
Copy link
Contributor

@melex750 melex750 commented Dec 18, 2020

It makes no logical sense for different robots to share their RAM.

By that logic, public functions also don't make sense.
It's a moot point since the game doesn't simulate RAM or a CPU.

In fact, there are distributed computing systems that operate as though physically
separate computers do share RAM with support from the OS and network.

I think the game wasn't even meant to be a literal simulation of robots.
It's a metaphorical representation of a programming environment, intended
for learning/teaching programming, where bugs(giant insects) are the enemy.
I actually read one of the original dev blogs that basically said as much.

@immibis
Copy link
Contributor

@immibis immibis commented Dec 20, 2020

It makes no logical sense for different robots to share their RAM.

By that logic, public functions also don't make sense.

correct

It's a moot point since the game doesn't simulate RAM or a CPU.

The game simulates separate robots, and you can easily see by looking at the game graphics, that there are no wires going between the robots.

You could say there is wireless communication, but there isn't, because we know what wireless communication looks like in this game (look at the ExchangePost send/receive animation) and there isn't that either.

@cbot-coder
Copy link

@cbot-coder cbot-coder commented Dec 20, 2020

@melex750
Copy link
Contributor

@melex750 melex750 commented Dec 23, 2020

The game simulates separate robots, and you can easily see by looking at the game graphics, that there are no wires going between the robots.
You could say there is wireless communication, but there isn't, because we know what wireless communication looks like in this game (look at the ExchangePost send/receive animation) and there isn't that either.

ExchangePosts could be described as obsolete tech after the 'First Expedition'.
It's pretty obvious there is wireless communication when Houston sends messages to SatCom and programs to robots.
BotFactory gets data from ResearchCenter and AutoLab and sends programs to bots without wires or send/receive animation.

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

Successfully merging a pull request may close this issue.

None yet
4 participants