Friday, 28 January 2011

Finished my AI.!

So the last couple of days, i've been working on making an AI for my game, it's been quite hard, but eventually it came through, and now i can play and actually loose that game, whereas before you were only able to win, and try and get onto a highscore list!

Speaking of highscore, i also made a reset Highscore button today, didn't take me so much time, but yea that's that.

I have 1 hour and 12 mins of work left, and then i can go on weekend with the satisfaction of my game being pretty much complete.

Next i have to really thick books lying in my room that needs studying, so i'll have a lot of things to do over the next couple of weeks!

-Rasmus S. Iversen

Monday, 24 January 2011

Back from the weekend!

The weekend is over, unfortunely, but now I'm back to programming, I started this monday with recreating my user interface for my game, and I'm at the moment in the process of creating a simple A.I (Artificial Intellegence), I only just started, but I think it should be great fun, My uncle gave me a long list of things to do, so it's not the only thing on my mind!

List:
Splash Screen
SFX
AI
Custom Background
Reset Highscore function
Background Music

Most of which I have no clue of how to do yet, but then again, I have my good friend google.com, he smeems to always have the answers for me!

Rasmus Iversen.

Thursday, 20 January 2011

looks simpler then it really is!

I've now been "working" for my uncle for 10 days, and untill today, I thought programming was a bit easy, however now I started working on some of the harder stuff, like databases, and I tell you, I never imagined I had to write this much code this early into my "career".

Went from doing something as simple as:

Dim Answer as Integer

Answer = 5 + 5

Textbox1.Text = Answer

to writing:

 Dim con As New OleDb.OleDbConnection
        Dim dbProvider As String
        Dim dbSource As String
        Dim ds As New DataSet
        Dim da As OleDb.OleDbDataAdapter
        Dim Sql As String

        dbProvider = "PROVIDER=Microsoft.Jet.OLEDB.4.0;"
        dbSource = "Data Source = C:\PATH"

        con.ConnectionString = dbProvider & dbSource

        con.Open()


        Sql = "SELECT * FROM tblContacts"
        da = New OleDb.OleDbDataAdapter(Sql, con)
        da.Fill(ds, "AddressBook")


        MsgBox("Database is now open")

        con.Close()

        MsgBox("Database is now Closed")

        txtFirstName.Text = ds.Tables("AddressBook").Rows(0).Item(1)
        txtSurname.Text = ds.Tables("AddressBook").Rows(0).Item(2)

But I still quite enjoy this guide!

-Rasmus Iversen

Wednesday, 19 January 2011

I made a simple game!

Hello readers,

As you can read in the title of this post, i made a very simple game, basicly you have to guess a random number in between 1 and 100, with as few guesses as possible, so that you can make the highscore list!
At first I thought, that it was gonna be very easy, i mean i wrote the game code quite fast, but then I got to the highscore system and i had no idea on how to do it, so i got some help, and when we were done with the highscore system, the highscore code was longer then the actual game!

Making your own game can be quite fun, challenging, but fun.


-------------------------------------------------------------------------------------------------------------------------------------

So today I was having a look at the guide, which I linked earlier, and I can feel that after programming a lot in my game, I'm having an easier time understanding the guide, I guess with programming, you learn by doing, but now I'm back to the guide, it feels like I'm having a harder time concentrating, maybe it's because that some of the things I'm studying right now, I already know from creating the game, I had great help designing my game, and it's thanks to my help that I've come as far as I have. :)

-Rasmus Iversen.

Friday, 14 January 2011

BV .net Programming.

Hey there, this is Rasmus again.

So yea, I finished that website i wrote about a couple of days ago, and went on to something harder, learning the basics of BV .NET programming, I'm at the moment following this guide, it's very easy to follow, and I'm really making a lot of progress, I already made a calculator which can take any number and add it with any other number, I started learning something about For and Do loops, and I'm having some trouble with them, so I've decided to skip them for now, and then I'm gonna go back and try again, when I've got some more understanding about BV programming.

If you are interrestet in learning the basics of programming, you should definetly try the guide, the guys who made it, did a very good job writing this guide, explaining every little detail about everything they think you should learn.

Anyways, that's all I have to tell today, I'll be back soon with another update. :)


Rasmus Iversen

Wednesday, 12 January 2011

Setting up my first website.

Hello readers,

So basically over the last couple of days, I've been told by my uncle, also my "master", to set up a website for him, when he told me this, i was a bit surprised, cause I had no experience with putting up websites, writing html code, or anything like that at all!


But here I am, two days later, and I learned to make a basic table, and I've been practising to setup a logo with Xara3D, I've played around with Google apps, and played around with Cnames, and I must admit, this is actually not as hard as I first thought it would be, but a great deal of fun.

Yesterday however was a bit slow, I spend a lot of time, trying to find a free website host, that also allowed html, I mean, there are a lot of website hosts out there, but some of them where a bit, uhm.. weird, some of them has like a trial period, meaning that you don't have to pay right away, but then later you would have to pay something like 50 €, some of them, have almost no storage memory, so can't really save a lot of things on them, and some of them just didn't allow html codes, so yea that took a lot of my day.

But yea, setting up a website can be a great deal of fun, even though you might not be very good at it, I mean, if you don't try, you'll never learn it, correct? :D


- Rasmus Iversen