Provide example files
It'd be very useful if the repository included a directory with example general projects written in goboscript, like small games, applications, algorithms and so.
It'd be very useful if the repository included a directory with example general projects written in goboscript, like small games, applications, algorithms and so.
This is a good idea. Maybe this issue could act as a place to share code which we think would be useful in such examples? Do you have any code which documents interesting use of goboscript?
@Poly2it Honestly, it is hard for me to start using a new tool if I can't have a real reference of how it is used, no matter the documentation. But maybe something simple in the lines of:
def fibonacciSequence arg
{
fib = [0, 1];
i = 3;
repeat $arg
{
fib.add fib[i- 1] + fib[i- 2];
}
}
onflag
{
fibonacciSequence 10;
i = 1
repeat 10
{
say fib[i];
wait 3;
}
}