Blog de Berto

Práctica Febrero EDI 2006/2007

por el día Sep.18, 2007, bajo Informática

Gollum :D

Bueno, aunque ya casi pasadas las vacaciones, no prometo, pero sí­ que espero poder actualizar más el blog, además después de que he estado unos dos dí­as totalmente a full para actualizar el wordpress a la última versión, trapasar la base de datos de mi antiguo host al nuevo, etc.

Pues primero voy a postear un poquito de programación. Este año en EDI ( Estructura de Datos y de la Informacón) la práctica obligatoria que nos mandaron hacer para Febrero consistí­a en programar en freepascal un juego sobre Frodo.El juego consistí­a en lo siguiente :

Tenemos un tablero, de como máximo 500×500 ( 500 filas x 500 columnas ) en el cual se moverí­a nuestro amigo Frodo. En cada casilla debí­amos almacenar dos datos, el movimiento que tendrí­a que hacer Frodo y el objeto que hay. Por ejemplo si Frodo encontraba un pan en la casilla, sumarí­a 2 puntos de vida, y si en la casilla pone que se dirija hacia el norte, estando en la casilla [2,2] irí­a a la casilla [2,1]. Además de esto, debemos controlar la vida de Frodo, el estado de Frodo ( si está mareado o normal ) y alguna cosilla más que viene en la espcificación, aquí­ no me quiero enrollar mucho.

En definitiva, el usuario finalmente lo que hace es, ejecuta el programa y le pide la extensión del tablero, la vida inicial de Frodo, y le pide introducir los datos que debe haber en cada casilla, objeto y dirección, y una vez introducido todo, el programa muestra finalmente si Frodo ha muerto (ya sea a manos de un orco, o porque se le acabó la vida) o si ha cogido el anillo, y todo esto lo almacena en un log.

La especificación la podéis descargar de aquí­ y el programa ya hecho de aquí­.

En el siguiente post sobre programación, subiré mi práctica de junio, que me pareció bastante más interesante que esta :).

14,493 Comentarios para esta entrada:
  1. Free Amateur

    If some one wants to be updated with newest technologies then he must be pay a quick visit this web page and be up to date everyday.

  2. can ho metro star

    Just wish to say your article is as astonishing. The clearness in your put up is simply cool and i can suppose
    you are an expert in this subject. Fine along with your permission allow me to
    clutch your RSS feed to keep up to date with drawing close
    post. Thank you a million and please carry on the rewarding work.

  3. page

    Nice replies in return of this question with genuine arguments and explaining everything
    regarding that.

  4. Karma

    Good article! We are linking to this particularly great post on our site.
    Keep up the great writing.

  5. Webhosting

    It’s the best time to make some plans for the future
    and it is time to be happy. I’ve read this post and if I could I want to suggest you some interesting things or tips.
    Maybe you could write next articles referring to this article.

    I want to read more things about it!

  6. sergey-sholom

    I do not even know how I finished up right here, however I
    assumed this publish was good. I do not realize who you’re however certainly you are going to
    a famous blogger if you happen to are not already.

  7. find more

    Hi Dear, are you actually visiting this website regularly, if so after that you will absolutely take fastidious experience.

  8. retirement communities in texas

    It’s going to be finish of mine day, except before end I am reading this fantastic article
    to improve my know-how.

  9. Mariano

    Hi there Dear, are you actually visiting this web page on a regular basis, if
    so after that you will definitely obtain pleasant know-how.

  10. Jackson

    Hmm it seems like your blog ate my first comment (it was
    super long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog.

    I too am an aspiring blog blogger but I’m still new
    to everything. Do you have any tips for beginner blog writers?

    I’d definitely appreciate it.

  11. Remco Melis

    This design is wicked! You most certainly know how to keep a
    reader entertained. Between your wit and your videos,
    I was almost moved to start my own blog (well, almost…HaHa!) Wonderful job.
    I really loved what you had to say, and more than that, how
    you presented it. Too cool!

  12. adult friend fiinder

    Hmm is anyone else experiencing problems with the pictures on this blog loading?
    I’m trying to determine if its a problem on my end or if
    it’s the blog. Any feed-back would be greatly appreciated.

  13. Federico

    That is a very good tip especially to those new to the blogosphere.
    Simple but very accurate info… Many thanks for sharing
    this one. A must read article!

  14. SelifandoB

    online tem onlineo

    5978 female online fast india

  15. not as good as service

    Nice weblog right here! Also your website lots up fast!
    What web host are you using? Can I get your associate hyperlink for
    your host? I desire my site loaded up as fast as yours lol

  16. control4 houston

    What’s up, I wish for to subscribe for this web site
    to take most up-to-date updates, so where can i do it
    please assist.

  17. ,jasa pembuatan website

    Hello, Neat post. There is an issue together with your website in internet
    explorer, would check this? IE nonetheless is the
    market chief and a large part of other folks will miss your wonderful writing because
    of this problem.

  18. led recessed light Bulbs reviews

    The slim dimensions of a recessed ceiling gentle makes it ultimate for hallway lighting that can pair well with present
    sconces or step lights.

  19. Source

    Its such as you learn my mind! You seem to understand a lot approximately this, like you wrote the guide in it or something.

    I believe that you just could do with a few percent
    to pressure the message house a little bit, but other than that, this is fantastic blog.
    A fantastic read. I’ll definitely be back.


    Write more, thats all I have to say. Literally, it seems as
    though you relied on the video to make your point.
    You definitely know what youre talking about, why waste your intelligence on just posting videos to your weblog when you could be
    giving us something informative to read?

  21. adm

    My brother suggested I might like this website. He used to be totally right.

    This post truly made my day. You cann’t believe just how a lot time I had spent for this information!
    Thank you!

  22. bad quality service

    Useful information. Fortunate me I found your website accidentally, and I’m surprised why this accident didn’t
    took place earlier! I bookmarked it.

  23. Affordable Air Conditioning repairs

    Excellent way of describing, and fastidious article to take data about my presentation topic, which i
    am going to convey in college.

  24. Maire Sweetman

    This is a very good tips especially to those new to blogosphere, brief and accurate information… Thanks for sharing this one. A must read article.

  25. Jesus Harle

    This blog is definitely rather handy since I’m at the moment creating an internet floral website – although I am only starting out therefore it’s really fairly small, nothing like this site. Can link to a few of the posts here as they are quite. Thanks much. Zoey Olsen

  26. Rolf Baumgardt

    Way cool, some valid points! I appreciate you making this article available, the rest of the site is also high quality. Have a fun.

  27. cheap pumps online

    comfortable sandals for women

  28. Design a website

    This paragraph will assist the internet users for creating new
    webpage or even a blog from start to end.

  29. Charita Lackman

    Hi , I do believe this is an excellent blog. I stumbled upon it on Yahoo , i will come back once again. Money and freedom is the best way to change, may you be rich and help other people.

  30. Bobette Domingue

    I got good info from your blog

  31. oman air career

    Do you have any video of that? I’d love to find out some additional information.

  32. como falar em público

    Do you have a spam problem on this site; I also am a blogger, and I was wondering your situation; we have
    developed some nice methods and we are looking to exchange techniques with others,
    please shoot me an e-mail if interested.

  33. Charla Hachting

    Thanx for the effort, keep up the good work Great work, I am going to start a small Blog Engine course work using your site I hope you enjoy blogging with the popular you express are really awesome. Hope you will right some more posts.

  34. best bass lures

    Hi there, I enjoy reading all of your post. I wanted to write a little comment to support you.

  35. poponarul

    Hello to every one, it’s genuinely a fastidious for me to pay a visit this website, it includes helpful Information.

  36. musky fish

    Hi there, just wanted to say, I loved this post.
    It was inspiring. Keep on posting!

  37. cute dresses online

    cheap heels online free shipping

Leave a Reply

Buscas algo?

Usa el formulario de búsqueda:

No encuentras lo que buscas? Deja un comentario en un post o contacta conmigo vía email.