Skip to Content

Word Shuffle: The Source

DigiClock is an open source project. Sweeper 3D and Word Shuffle, however, are not. This is not because I want to protect the source, but simply because Unity 3D doesn't really work with an external source control, so it's actually effort for me to open source it. If you were to ask me for the source of one of them, i'd hand it over without an issue. So I decided to formalize that a little bit. Word Shuffle's source code is now online!

The main purpose of this is to give people an idea of how i structure a Unity 3D project. This game took only a few weeks to make, so there are some hacks, and some of the structure is a mess. There are also some bits of architecture that i'm pretty pleased with - such as how i do state management in Unity.

What's NOT in there:

  • Assets that i'm not sure I can legally share. For example, i've used some free assets, such as those from the Unity asset store, but I don't know the legality of distributing them. So what i did is, if they're not mine or definitely free, i won't share them.
  • My Network messenger class. This is mostly because i don't really want people seeing the web calls and the security i used. It's not that it's bad, it just opens the game up for attacks. The class itself is very uninteresting, and basically just wraps Unity's WWW calls in my own nicer ones, combined with some hashing and security. Sure, in theory you could get this from the game binaries and a tool like fiddler, but i'd rather not just put it out there. I pay for the server, and i'd rather not open it up for attack.
What is in there:
  • Assets that I've made. Icons, buttons, 3D models.
  • An openable Unity 3D scene. You may not be able to hit play, but you can see how i've handled menus and states.
  • My dictionary processing tool. I wrote this to process the original dictionary files that i had. This was a major optimization. Take a look at the board generator to see my trick for optimally generating consistently good boards ( hint, it's a dirty trick :)
A note on licensing. All assets that i made are under a creative commons with attribution license. All source is under an as-is license ( similar to MIT ) with some caveats. You are free to use chunks of the source, but if i see a clone of my game built with my code, i'll be pretty angry. Attribution is not required for code usage, but it would be nice.
It'd be simpler if i said, just be a good person about using the source and assets.
Enjoy the code!!

Word Shuffle is out!

It's been out over a week now, sorry for not updating this, but here it is:

It's free, it's got stars, here's my latest multiplayer word game:

Get it free:

Get it now

Hope you enjoy, and remember, it's much more fun with friends!

New day, new idea

Messing around with a new idea. A platformer of sorts for Android. This prototype just shows the core visuals and movement, not really gameplay at the moment.

Syndicate content