Go to advanced search

by Voidious
Tue Jan 29, 2013 3:36 pm
Forum: Staffroom, classroom and projects
Topic: BerryBots - a programming game
Replies: 8
Views: 1733

Re: BerryBots - a programming game

Thanks! Lua's actually quite new to me, but I'm really digging it. The language itself is nice, it's perfectly suited for this type of usage (host app safely running/interacting with user written apps), and with LuaJIT it really flies too.
by Voidious
Mon Jan 28, 2013 6:14 pm
Forum: Staffroom, classroom and projects
Topic: Short PI presentation
Replies: 2
Views: 1170

Re: Short PI presentation

Even within "engineering", I think it kind of depends what you want to teach and on the types of students. You could focus on how it could enable low income areas to have computers, or how it can be used in education to teach programming, or that it's a cool toy for DIY projects (and show off some o...
by Voidious
Sun Jan 27, 2013 11:04 pm
Forum: Staffroom, classroom and projects
Topic: BerryBots - a programming game
Replies: 8
Views: 1733

Re: BerryBots - a programming game

Ok. Actually, above you stated "Java Script", so I thought you were looking at the wrong game.

Anyway, apologies for mentioning a programming language you don't like. My post was primarily intended to be about BerryBots, which is coded in C/C++ with bots and stages in Lua.
by Voidious
Sun Jan 27, 2013 10:43 pm
Forum: Staffroom, classroom and projects
Topic: BerryBots - a programming game
Replies: 8
Views: 1733

Re: BerryBots - a programming game

With such a generic name, I'm not surprised there are other "Robocode"s. =) But I'm referring to http://robocode.sourceforge.net, which was released by IBM in 2001 and still going strong. Definitely one of the most popular programming games. See http://robowiki.net, the main online community, and ht...
by Voidious
Mon Jan 21, 2013 4:46 pm
Forum: Troubleshooting
Topic: Reduce MySQL memory usage
Replies: 4
Views: 6505

Re: Reduce MySQL memory usage

I'm not a MySQL wizard myself, but I did go through this recently while configuring MySQL on a VPS with 256 MB RAM. Since that (MySQL / VPS) is a pretty common scenario, there's actually quite a lot of info out there for how to configure MySQL for lower memory usage. First I'd take a look if there's...
by Voidious
Sun Jan 20, 2013 11:26 pm
Forum: Staffroom, classroom and projects
Topic: Helping the poorest kids?
Replies: 24
Views: 3833

Re: Helping the poorest kids?

The goal is to teach them how to use these computers where they will encounter them the most, I know I'm in a linux loving forum but i gotta advocate pcs for poor kids. These kids need experience using windows which is used in the places they will more likely work at. Jumping poor kids into linux s...
by Voidious
Sun Jan 20, 2013 10:19 pm
Forum: Staffroom, classroom and projects
Topic: BerryBots - a programming game
Replies: 8
Views: 1733

BerryBots - a programming game

Hey guys - I wrote a programming game for the Raspberry Pi called BerryBots ( berrybots.com ). It's along the lines of Robocode or Logo/Turtle, with the bots programmed in Lua. It's also available for Mac/Linux and soon Windows. I'm a big Robocode guy (I help run RoboWiki.net ) and I know it's used ...
by Voidious
Tue Nov 20, 2012 7:03 am
Forum: Gaming
Topic: BerryBots - a programming game
Replies: 0
Views: 849

BerryBots - a programming game

I've just released the first version of BerryBots, a programming game I've been working on for the Raspberry Pi. It's along the lines of Robocode (which I love), Robot Battle, or Logo/Turtle - a player programs the behavior of a ship that moves around the stage and (optionally) shoots at the other s...
by Voidious
Tue Sep 25, 2012 6:33 pm
Forum: Staffroom, classroom and projects
Topic: An Introduction to Robocode
Replies: 16
Views: 5024

Re: An Introduction to Robocode

Posted a couple more vids of the programming game I've been working on. * part 1: sample stages, battle mode * part 2: stage and bot APIs It's a lot further along now and actually quite playable, and I'm pretty excited about how it's turning out. Probably still a few weeks away from actually releasi...
by Voidious
Fri Sep 14, 2012 6:01 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 57106

Re: Example program to draw random shapes using the C compil

Ok, so the answer seems obvious after getting more familiar with all this OpenVG stuff... The real fast way to do things is to create paths for the shapes I want to use up front, then use transformations to translate / rotate / scale a path each time I want to draw one of it. Unfortunately this mean...
by Voidious
Thu Sep 13, 2012 6:20 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 57106

Re: Example program to draw random shapes using the C compil

Just finished quite a bit of fiddling. Got a ~10% gain from removing the red/green/blue/alpha size = 8 settings from the attribute_list for eglChooseConfig, and another ~15% by caching and re-using the VGPaths and VGPaints (also need to clear the VGPaths) instead of repeatedly creating and destroyin...
by Voidious
Thu Sep 13, 2012 3:41 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 57106

Re: Example program to draw random shapes using the C compil

Hmm... I'm seeing surprisingly low frame rate here when I'm drawing more than a few shapes. Like if I'm drawing 4 rectangles, 20 circles, and 20 line segments each time, I'm down to 20-something FPS. It's a solid 60 at 5 circles/5 lines. I'm at a 128/128 split atm but saw no difference vs 192/64. An...
by Voidious
Mon Sep 10, 2012 5:07 am
Forum: Staffroom, classroom and projects
Topic: An Introduction to Robocode
Replies: 16
Views: 5024

Re: An Introduction to Robocode

Just posted a video with a very early look at a programming game I've been working on for the Raspberry Pi, if anyone's interested. http://www.youtube.com/watch?v=kSVarS29-UQ Doing my best to make something that runs well on the Raspberry Pi and is very beginner friendly. Still lots to do but it's c...
by Voidious
Sun Sep 09, 2012 8:08 pm
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 57106

Re: Example program to draw random shapes using the C compil

Another big thanks for help getting some graphics going on the Raspberry Pi. I'm having a lot more fun with it because of you. =) I was wondering, do you have any license attached to all your Rpi OpenVG code? I couldn't find anything in the threads or GitHub. I've been using some code from your rsha...
by Voidious
Tue Aug 21, 2012 2:34 pm
Forum: Staffroom, classroom and projects
Topic: An Introduction to Robocode
Replies: 16
Views: 5024

Re: An Introduction to Robocode

A couple folks have now posted about running stock Robocode on the Raspberry Pi (near the bottom of http://robowiki.net/wiki/Raspberry_Pi ). One report of "battles are slow but the app/editor seem ok", another of "everything's painfully slow, even the editor and battles between sample bots". I've on...

Go to advanced search