Jump to content




TCCAIC [Project Ended]

game lua command

32 replies to this topic

#1 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 29 November 2016 - 01:08 PM

This project has ended


Hey! You!

Do you enjoy programming in lua?

Did you always want to show the world your EPIC PROGRAMMING SKILLS but never had the chance?
Well search NO MORE !
Ladies and Gentlemen! Programmers of all levels!
I present to you....
TCCAIC
The Computer Craft Artifcial Intellegence Challenge now self updating!
Latest version: Beta 3.0
Posted Image

.

Screenshots

The Concept
Board Games.
Have you ever played a game of Chess, Stratego, or even TicTacToe, and you really took the time to plan out your moves? Did you ever wonder what is the Ultimate strategy? What is the play that will make you inevitably win?
Well I have.
And so- I've created a Game. With players, rules, and objectives. But in this game, you do not play! In this game, you - as a programmer - must develop a strategy, plan your actions, and program your player!
Create smarter and smarter Bots! Build custom Maps! Make your own Strategy!

Gameplay
Instructions

Version Documentary

Known Bugs
Upcoming Features

Check out the official TCCAIC Discord to Report Bugs or Suggest Features!

Credits

Disclaimer: May contain Bugs. And slight traces of Almonds.

Edited by exosceleton, 15 June 2017 - 06:40 PM.


#2 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 30 November 2016 - 10:56 AM

Post updated! Download available! Instructions added!
Feedback approved! ^_^
Please report any bugs or even feature requests to me!
If you made a cool Bot or a Map and you want to share it, simply post it below on Discord!

Edited by exosceleton, 21 February 2017 - 10:04 AM.


#3 Lion4ever

  • Members
  • 91 posts

Posted 01 December 2016 - 04:06 AM

This looks really interesting!
Can you add a pastebin link to your post, so i can download it directly to the command computer and/or the turtles please?

#4 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 01 December 2016 - 10:15 AM

View PostLion4ever, on 01 December 2016 - 04:06 AM, said:

This looks really interesting!
Thanks!

View PostLion4ever, on 01 December 2016 - 04:06 AM, said:

Can you add a pastebin link to your post, so i can download it directly to the command computer and/or the turtles please?
The link I provided is for a special testing world where I set up a bunch of stuff for testing (It also links to the required RP).
Downloading with pastebin onto your computers wont really work, because of things like the Turtle Client IDs and the Server's ID not being the same as the ones I send info (which is hard-coded into the program), and that will break basically everything. Plus- the RP is not just for looks, it contains the Custom APIs I added, so you'll need that as well... So sorry, but pastebin isn't really an option here. Maybe I'll find a way in the future.
All in all- It will be a lot simpler for you to just download and copy the whole batch of files from the link! (check the instructions) :)

Edited by exosceleton, 01 December 2016 - 01:41 PM.


#5 KarloxLoKo

  • Members
  • 3 posts
  • Locationinto the rabbit hole

Posted 01 December 2016 - 08:15 PM

View PostLion4ever, on 01 December 2016 - 04:06 AM, said:

This looks really interesting!
Can you add a pastebin link to your post, so i can download it directly to the command computer and/or the turtles please?
Also should point to mc and cc versions.

#6 Twijn

  • Members
  • 119 posts

Posted 01 December 2016 - 11:36 PM

View Postexosceleton, on 01 December 2016 - 10:15 AM, said:

View PostLion4ever, on 01 December 2016 - 04:06 AM, said:

This looks really interesting!
Thanks!

View PostLion4ever, on 01 December 2016 - 04:06 AM, said:

Can you add a pastebin link to your post, so i can download it directly to the command computer and/or the turtles please?
The link I provided is for a special testing world where I set up a bunch of stuff for testing (It also links to the required RP).
Downloading with pastebin onto your computers wont really work, because of things like the Turtle Client IDs and the Server's ID not being the same as the ones I send info (which is hard-coded into the program), and that will break basically everything. Plus- the RP is not just for looks, it contains the Custom APIs I added, so you'll need that as well... So sorry, but pastebin isn't really an option here. Maybe I'll find a way in the future.
All in all- It will be a lot simpler for you to just download and copy the whole batch of files from the link! (check the instructions) :)

Adding a Pastebin code will always result in more of people's interest. Why? Who knows what you're downloading. Some people will simply refuse to download things for CC programs. (Like me, sometimes)

(Shameless advertisement here)

With OnlineAPPs (website, thread), you can easily provide a Pastebin code to your program. How? If it's a program with a single file, you can do it yourself! Simply use the website linked to create an account and create your first program.
Multi-file support for programs is an upcoming feature. But, I do luckily have it in a spot where it is functional as a GET service - if you'd like to set it up let me know, and I can get all of the files uploaded and transferred to your account on there. With this, any person is able to paste the pastebin command onto any computer and have every file downloaded quickly.

Edited by Twijn, 02 December 2016 - 12:52 AM.


#7 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 02 December 2016 - 02:26 AM

View PostKarloxLoKo, on 01 December 2016 - 08:15 PM, said:

Also should point to mc and cc versions.
In the Instructions>Setup it says what version.

View PostTwijn, on 01 December 2016 - 11:36 PM, said:

Adding a Pastebin code will always result in more ...
Yes. I am aware of that. But as I pointed out earlier- It wont work. Files need to placed in specific directories and on computers with specific IDs.. I cant account for all the possible setup options. :wacko:

Plus, installing using Pastebin may be faster and/or simpler if you're installing one or two programs, but TCCAIC requires (to date):
2 x command programs ("run","server")
1 x turtle program ("turtle client")
1 x pocket program ("programmer client")
3 x APIs ("core","game","constants")
1 x utility file ("utils")

This is without taking into account that the API files need to placed in the ROM, and this is only achieved using the Resource Pack.
To conclude- as much as I would LOVE it to be as simple as Pastebin, it is just not possible.
The .ZIP file has the World Save and the required RP, and the Instructions are pretty clear... If you have trouble understanding the instructions- I'm happy to help!

Edited by exosceleton, 07 December 2016 - 03:23 PM.


#8 eniallator

  • Members
  • 56 posts

Posted 02 December 2016 - 08:30 AM

View Postexosceleton, on 02 December 2016 - 02:26 AM, said:

Yes. I am aware of that. But as I pointed out earlier- It wont work. Files need to placed in specific directories and on computers with specific IDs.. I cant account for all the possible setup options. :wacko:

Plus, installing using Pastebin may be faster and/or simpler if you're installing one or two programs, but TCCAIC requires (to date):
2 x command programs ("run","server")
1 x turtle program ("turtle client")
1 x pocket program ("programmer client")
3 x APIs ("core","game","constants")
1 x utility file ("utils")

This is without taking into account that the API files need to placed in the ROM, and this is only achieved using the Resource Pack.
To conclude- as much as I would LOVE it to be as simple as Pastebin, it is just not possible.
The .ZIP file has the World Save and the required RP, and the Instructions are pretty clear... If you have trouble understanding the instructions- I'm happy to help!

All of this can be setup.

With the programs's, if you have specific files for turtles/pocket computers/command computers, they can all be installed using an install program. You can either create it yourself or browse the utilities forum here because i'm sure there's some there.

Next with the ID's, This too can be setup. The way i would do it is to first have a method that when called would update a file on whichever computer you need to have talk with the turtles. In that method, you can just have a rednet.broadcast() (potentially with a protocol if you just want to be safe) and then you can write all the ID's to a file. Yes, this would mean that the turtle's need to have their program running but that's a minor thing to setup.

Finally with any in world blocks, on your command computer you can have a method that will setup the area (either using the clone or setblock commands).

#9 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 07 December 2016 - 02:28 PM

Three Things:
1. No need to quote the entire post! The relevant sentence will do just fine (if your quoting numerous sentences you can always use "..."). Feel free to apply said changes to your post :)
2.

View Posteniallator, on 02 December 2016 - 08:30 AM, said:

All of this can be setup. ...if you have specific files... they can all be installed using an install program..
For the sake of the argument, I took the time and created an installation program. I works great! but I'm still not going to have a Pastebin based download. Full explanation why: Instructions>Setup>Why not Pastebin
3.

View Posteniallator, on 02 December 2016 - 08:30 AM, said:

Next with the ID's... have a method that when called would update... you can just have a rednet.broadcast() (potentially with a protocol...) and then you can write all the ID's to a file.
If you take a look in the server and client connections in my code you will see that I use pretty much the exact method, so..... Yeah.

Anyway... Post updated, working hard on next Version.
Next Update introduces Portable Programming!

Main Post updated.

Edited by exosceleton, 02 January 2017 - 03:08 PM.


#10 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 14 December 2016 - 04:49 PM

Alpha 2.5 Released!!
+ Custom Server UI
+ Portable Programming with custom OS (A modified version of AlbynOS by @EtK2000)
+ Easy Programming and Uploading using modified vesrions of FileX by @Creator and LuaIDE by @GravityScore
+ Create files (Bot/Map) using Pocket Computers and send them to the Server through Rednet
+ New Utils file
* Cleaned up the screenshots sub, and...
+ ...Added pics and gifs explaining the new Portable Programming Devices! Check them out!

Main post updated.

Edited by exosceleton, 02 January 2017 - 03:08 PM.


#11 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 15 December 2016 - 11:14 AM

Alpha 2.6
- Fixed a bug with files uploading to the wrong folder
- Fixed some incorrect debug text in serverLog

Files (Full Pack, World Save) updated.

Edited by exosceleton, 22 January 2017 - 12:45 PM.


#12 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 17 December 2016 - 11:53 AM

Credits

Pretty sure you did not write FileX. In your main download, check under "computer/3/osData/bin/explorer". It's even written
"--------------FileX v1.2-------------
---------------Program---------------
--------------by Creator-------------"

You might have forgotten to give credit, but don't try to present work as your own when it is not.

#13 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 17 December 2016 - 08:17 PM

Terribly sorry, Creator!
I did not mean in any way to pass it as my own, and I apologies for not adding you (and GravityScore for luaIDE) to the Credits immediately.

And yes, I am aware that it says:
-----------by Creator--------------
That was left in to give credit! :rolleyes:

Anyway, Fixed that now! Also added captions to Screenshots>Remote Programming with credits.

Edited by exosceleton, 21 December 2016 - 09:55 PM.


#14 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 24 December 2016 - 05:04 PM

Alpha 3.1 Released!!
+ Added Multishells in the Multishell (a.k.a the new Server GUI)
demo
+ Players can now start and join match Lobbies using the Portable Programming device. A huge step towards remote matches!
demo
+ The Server now has the ability to write text to all players in the Lobby
+ Players get notified of certain things when in the Lobby (player joining/disconnecting, getting owner rights)
+ When in the Lobby, the Client can execute some basic chat commands (italic means owner only) (exit, start, map list/set, player list/ban)
* Many bug-fixes and code optimization in both the Client and the Server

Main Post updated.
Files (Full Pack, World File, Resource Pack) updated.

Edited by exosceleton, 22 January 2017 - 12:45 PM.


#15 TheRockettek

  • Members
  • 547 posts
  • LocationRem is best girl

Posted 24 December 2016 - 05:40 PM

why not change those buttons connected to the command blocks interactive monitors :D Or like a main settings computer

#16 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 24 December 2016 - 11:48 PM

View PostTheRockettek, on 24 December 2016 - 05:40 PM, said:

why not change those buttons connected to the command blocks interactive monitors :D Or like a main settings computer
Well considering its a test world for an indev program I figured, "why not use buttons? they look pretty test-like".
Spoiler

Edited by exosceleton, 02 January 2017 - 08:45 AM.


#17 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,462 posts

Posted 25 December 2016 - 12:40 AM

Just because spoilers can be nested does not mean that they should be nested.

#18 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 25 December 2016 - 06:54 AM

View PostLyqyd, on 25 December 2016 - 12:40 AM, said:

Just because spoilers can be nested does not mean that they should be nested.
:/

Edited by exosceleton, 27 February 2018 - 11:48 AM.


#19 TheRockettek

  • Members
  • 547 posts
  • LocationRem is best girl

Posted 25 December 2016 - 08:04 AM

Quote

Now that I think about it.... your """"complaint"""" (though slightly pointless) does point out that you downloaded (and even tried out!!) TCCAIC!
So thanks a lot for that! <3

I sadly havent been on minecraft in months as my computer passed away :(, but litterally im getting a new one today :D. Oh ya, i was just looking at screenshots...

#20 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 02 January 2017 - 03:02 PM

Alpha 3.2
* Changed the Networking code, for the better. (I hope...)
* Fixed chat commands (they work for real now)
............................ admin .............................................................. user ............................
Posted ImagePosted Image

Screenshots updated.
Files (
Full Pack, World File) updated.

Edited by exosceleton, 22 January 2017 - 12:45 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users