RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Developing a small project. (Script)

0 Members and 1 Guest are viewing this topic.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Developing a small project:
Note: While being a project this highly aimed toward scripting

I've gotten this idea that we, as a community, should develop a small project.
It's a great way to learn Ruby as you'll get input for work as well as you'll have to read other's work to give output.
Getting to see different solution to a problem is far harder done alone.

The goal is to create, well...
Think of a box or a window which contains text. You can add lines to this text field.
When you do this the new lines will be added at the bottom moving the previous text upwards.
You can think of it as a queue. New people get into it at the end while the first in line exits.
The first-in-first-out principle ya know.

The user must be able to specify when the text field is full.
When the text field is full the first lines added will be removed accordingly to new lines added.
That is the goal.


Now first of all we'll have to choose a data structure.
This will be the first task, a research task. It is important to be able to search properly.
You must find a simple, yet quite efficient data structure that fits our needs.

Don't touch algorithms with running bigger than O(n^2) if you manage to find one.   - I know, not correct notation

Hint: Avoid 'Fibonacchi Heaps'

***
Rep:
Level 89
So wat ur saying is every1 one this website will make a game using ruby, if so im in
Badass, and a do'er not a thinker

***
Rep:
Level 89
Where can I get Ruby?
RPG Heights : A brand new high... http://www.forumsvibe.com/monsterdoog/

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Quote from: monster-doog
Where can I get Ruby?
http://www.rubycentral.com

Quote from: Jesse 015
So wat ur saying is every1 one this website will make a game using ruby, if so im in
No, we will not make a game here.
Yes, you can use the finished project (script) in a game.

***
Rep:
Level 89
i meant every1 in the website helps to make it
Badass, and a do'er not a thinker

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Quote from: Jesse 015
i meant every1 in the website helps to make it

That is correct, but we won't make a game. We'll make a script.