• Welcome to Dark Bit Factory & Gravity.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - combatking0

#1
This is certainly one eye-catching sine scroller! And versatile too.
#2
Love the King / Check idea, I can already imagine which lines of code I need to add / alter to make this work!
#3
Welcome, Therektafire,

I hope you have fun around here. There's plenty of examples of graphical effects in tons of languages in the depths of the DBF forums, so I'm sure you'll find the perfect inspiration.
#4
Because it's shared hosting, I've set the ajax calls to 10 second intervals. There's nothing stopping me switching to a shorter interval I guess, especially while the site isn't very popular.

If you click and drag the 3D view horizontally, you can rotate the board. Although I have yet to get this working with touch screens.

Picking the field in 3D would be a major step, but definitely one to consider.
#5
I like those ideas!

Here's another to put in the hat:
Survival of the Fittest

Create a simple eco-system with at least 3 kinds of life - plants, prey and predators.
When the program runs, predators chase prey, prey seeks plants and flees from predators and plants spread gradually.
Each life form has a finite life span, but this can vary among individuals among with other aspects such as their speed, etc.

Maybe I've overcomplicated my explanation.
#6
Great to see a fellow JavaScript programmer.

It's a good start, but it could be improved by increasing the speed of the ball a little bit with each brick that disappears.
#7
Welcome, Lyrururs,

I can't wait to see what you can create!
#8
General chat / Re: Hi
February 27, 2018
Hi Pippios,

I can't wait to see what programs and demos you can make. I'm always impressed when I see a classic effect in a new and interesting sequence.
#9
Major update! Online Guest Mode is now working!

Of course, it only works if someone else is online at the same time as you are.
#10
There was an issue with the event handling a few days ago, but it should be fixed now.

That said, I haven't done much testing with touch screen devices, so I'll need to find one and see if there's anything I can code that can fix it.
#11
Progress is slow at the moment, between work and looking after my kids I barely get much time to get my brain in gear.

I also have to keep switching between PHP and JavaScript, but it's gradually coming together.
#12
Yabasic / Re: Prime Numbers
January 11, 2018
On the topic of primes, I hear some asymmetric encryption algorithms are based on the product of two large prime numbers.

I wonder if it's possible to make an asymmetric encryption algorithm using the product of three or more prime numbers? That could (and maybe should) be a topic of its own, but it's interesting to consider at the very least.
#13
Yabasic / Re: Prime Numbers
January 08, 2018
Interesting. If I were coming up with my own algorithm I'd have to seed it with the first 2 primes and set it going from there. Though I don't imagine mine would be very elegant.

I'll definitely have to give this one a try.
#14
General chat / Re: Hello there!!
January 03, 2018
Hi AlfaRomeo,

I can't wait to see some of your demos and projects. Welcome to the forums.
#15
OK, I've rigged the JavaScript / HTML5 Canvas front end to create an AJAX call to a PHP script, which then requests information from a database using MySQL, then returns it in a format which the JavaScript can use!

The game itself isn't using the connectivity yet, but it's working as a simple test.

The next stage is to set up a handshake between the front end and the server, associate them with a board record in the database and start the game once 2 players are connected!
#16
General chat / Re: Hii!
December 30, 2017
I've dabbled with C and C++ at university, but that was a long time ago. A little over 14 years ago.

While I've not had much experience since, though I did make an encryption program with C#. I wouldn't know where to start with writing a demo in C family languages, but I have a basic grasp of the syntax so if you hit any snags I'll do my best to help find them.
#17
It's just about up and running, at least in off-line mode. I'm going to start tinkering with some AJAX for a live online experience.

I wonder if it'll be impressive enough to a potential employer. I'll definitely need to annotate the code.
#18
General chat / Re: Hii!
December 28, 2017
Hi ViLXDRYAD, I've been away from DBF for a few years but I'm back now.
I guess everyone's busy with Christmas / New Year stuff.
#19
Check(mate) testing is really quite complicated!

I just need to finish off the predictive Check(mate) test to prevent the player putting themselves into Check.
#20
This looks great! Perhaps a little pixellated when the text gets far away, but other than that it's hard to tell it apart from the real deal.