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.


Messages - Horrowind

Pages: [1] 2
1
Computer Projects and Ideas / Re: [contest] MafiaBot
« on: August 14, 2012, 03:16:30 pm »
as he wishes... it is a bit selfbalancing: if the group he chooses is too large, he doesn’t get very valuable information (as in under these 14 people 5 are murderers), if it is too small, chances are, that he is not very helpful (as in random townie is good, so that's great, but it is not that helpful that others had to die for it)...

But don't think that the roles are so strict as I describe them here, these are how I know/play them. For gameplay and balancing reasons it is often reasonable to adjust them, for example by making the terrorist known to the murderers, disallow the healer to heal himself, and so on. So be encouraged to just take these rules as consideration and adjust them as you please.

2
Computer Projects and Ideas / Re: [contest] MafiaBot
« on: August 14, 2012, 12:27:12 pm »
Okay, so here some clarification:

Freemasons are just ordinary townspeople, so they have no special ability, but they know every other Freemason (it is equivalent to the murderers, who also know each other, so they know during daytime which other persons are on there side).

The mathematician is on the "good" side, and can help his side by sacrificing himself for information (as described below/above... oh directions are so relative), he chooses a group of people and the GM/bot returns the number of murderers in this group). He has no real advantage of this information, as he then is dead, but the others can use it for the discussion/vote.

The Liar votes for another person (left/right neighbour of the person he appoints) in every vote he participates. So he can choose a different one. (I do not know if you plan to have a secret vote, but afaik they are public).

For the Fool: He has to different states: sharpened and unsharpened. At the begin of the game he is in the latter state. If he is killed by vote during daytime, he is dead an is unable to win. If he is killed in the night by the mafia he gets sharpened (the GM/Bot tells him, if this happens, he survives this attack). If he is sharpened and then is killed by vote he wins (or is the only survivor), otherwise he loses (so if he is killed by the mafia again).
The only gray-zone that could happen, is if the healers heals the fool in the same night he gets sharpened. This case is a GM dependent, so you can implement that as you wish.

(as if you couldn't implement anything as you wish :) )

Hope that helps.

3
Computer Projects and Ideas / Re: [contest] MafiaBot
« on: August 13, 2012, 07:05:43 pm »
Well, you asked for ideas:

Mathematician: he can sacrifice himself during the day and then choose a group of people and gets answered how many of them are murderer.
Gardener/Miller: The Detective thinks he's of the mafia.
Cleaning Lady/Godfather: Opposite of the above.
Driver of oil-tankers (seems like translation is serious business  :) ) : when he dies, his neighbours also die (needs an arrangement of the players in a circle... or any other graph if you want to make simple things complex :) ).
Freemasons: Normal Townspeople who know each other.
A variation of the jester/Fool: he gets sharpened when the mafia tries to kill him (he survives this (first!) attack). He wins, when he is sharpened and is killed by vote. So he dies, when the mafia kills him twice or the town kills him before he is sharpened.
Matchmaker: During night he chooses two people and get the information whether they are in the same party.
Liar: He votes for the person to the left (or right, also needs an arrangement).
Three-headed monkey: He is just a distraction.

4
Art / Re: Megaman Sprites
« on: October 17, 2011, 01:15:25 pm »
I also thought some time ago about making some sprites and titlescreens for megaman (II). The sprites are even smaller (8x8) and look like... well... look for yourself. Titlescreen and stuff is a bit more pretty (I had a casio calc in mind, therefore a resolution of 128x64). Like Art_of_camelot im not working on a megaman related project.

5
Casio Calculators / Re: problem with PxlTest
« on: September 23, 2011, 07:15:40 am »
Im not sure, if I understand you correctly (okay, well I'm pretty sure I don't), but I think the problem rises from the difference between the pxl-commands and the plot-commands. The plot-command use the settings of the ViewWindow, so normaly something like x-axis from -6.3 to 6.3 an y-axis from -3.1 to 3.1, while pxl uses another coordinate system, top-left corner is (1,1) with y-axis turned down and x-axis turning right. The bottom right corner is on the legacy calcs (63,127) (note that first y and then x) and the prizm something different.

So a good approach to this problem is using a viewWindow, which makes converting to the pxl-coordinates relatively easy (ViewWindow 1,127,1,1,63,1), so PlotOn x,y is equivalent to Pxl-On 64-y,x or something similar. Also note that the plot commands override the X and Y variables.
(This is, because the "Plot "-Command without parameters can be used as an screeninput, it gives a cursor and retrieves the coordinates of the given point in X and Y. But PlotOn 13, 37 overrides these too).

I hope clearing the difference between these two help you sort out your problem.

6
Math and Science / Some geometric problem in three dimensions.
« on: September 17, 2011, 04:57:16 pm »
okay, so here is a problem I have long been thinking of. Its basically an extension to an (probably) well known problem, taking it from one dimension to another.

First the two-dimensional version, a warming up so to speek:
Given three concurrent lines on a plane (so they have all have a point in common), find an equilateral triangle so that on each line is a corner of the triangle.
The solution is rather simple, if the trick for solving it is known. Overwise its quite hard :) (Tip: rotate)

Okay, so here the more complex versions of the problem:

Given three concurrent lines in space find such an triangle.
(sadly rotating is not as easy when there is no trivial axis to rotate)
and

Given four points in space, what are the restrictions for a point and a regular tetrahedron, so that the projection of the vertices of tetrahedron from this point results in these four points. Or the other way around: Is it possible to construct a regular tetrahedron so that the four lines, connecting one point of these four given points with one vertex of the tetrahedron, intersect in one point, and what are the restrictions of this problem.

Note that the first of these problems is equivalent to solve this equation system:
a2 + b2 + a b k1 = 1
b2 + c2 + b c k2 = 1
c2 + a2 + c a k3 = 1
for given k1, k2, k3 (simply set the size of the triangle to one and use the law of cosines).

Inputing this into maple gives some horrifying results  *.* (okay, im a n00b with maple, but still).

Maybe someone has an idea how to solve this.

7
Casio Calculators / Re: Prizm File I/O Problems
« on: September 05, 2011, 01:10:58 pm »
yes, i know, but i was refering to the manual and unwilling to replace them :P

8
TI Z80 / Re: Wikipad: the online calculator keypad anyone can edit
« on: September 04, 2011, 03:41:26 pm »
oh, yes, i were, should have mentioned :)

but looks good, both yours and DTs. but I dislike Comic Sans :P, but thats not a serious issue

9
TI Z80 / Re: Wikipad: the online calculator keypad anyone can edit
« on: September 04, 2011, 02:39:06 pm »
maybe you should add the SDK Keycodes (KEY_CHAR_0 = 0x30, KEY_CHAR_IMGNRY = 0x7f50, KEY_CHAR_Z = 0x5A for the key '0').

10
Casio Calculators / Re: Prizm File I/O Problems
« on: September 04, 2011, 02:28:04 pm »
You could take a look at casios manuals for there fx-9860 SDK (which can be found here: http://edu.casio.com/dl/ under fx-9860 SDk). The Bfile-functions seem to be similar on both calcs, maybe this will help. I dont have a prizm, so these infos build on the similarity of the two platforms.

As for your questions:
1. As far as I understand, there can be two-byte chars, at least for displaying. These would look as described in the character set pdf from these manuals.

2. The manual gives this example: PathName[]={'¥¥','¥¥','f','l','s','0','¥¥','f','i','l','e','n','a','m','e','.','e','x','t',0}; So yes, yours seem to be right.

3. On the old fx, the mode option can be used to create a directory (mode = 5).
I think it being a pointer to an int is a mistake. In the syscall-documentation of simlo is no pointer but a single int.
For where to save it: I think you have to specify the whole path (as in the example above).

11
Casio Calculators / Re: On-calc C compiler for 9860
« on: August 31, 2011, 03:34:27 am »
I will also rewrite mkg3a into a new mkg1a unless such an app already exists. Basically I will turn this Prizm exclusive project into a Casio calc harmony one instead :)

I think this has already been done. If you take a look here, there is a link for using gcc to compile c programs instead of casios sdk. also g1a wrapper should be the analogon to mkg3a...

I should add some userbar/avatar flavor... my post always seem so short :)

12
Casio Calculators / Re: Grayscale and BFile
« on: August 17, 2011, 08:56:21 am »
well... I worked it out by changing thegrayscale library to kucalcs rev-fx, but many thanks anyways :)

Hav'nt worked on it for a long time...  ::)

13
Miscellaneous / Re: Where Did Your Name Come From?
« on: August 10, 2011, 09:57:45 am »
mine is surprisingly inspirded by the Elder Scrolls game Morrowind. While playing I named my savegames in similar way(well at first with a 'r' between 'o' and 'w') and somehow I sticked with the name fror online-stuff.

14
ASM / Re: 68k 64-bit multiplication
« on: August 07, 2011, 08:00:42 pm »
so 17 = -(4i * (5i)1 + 3 * (5i)0) = -[4i, 3]5i?

I couldn't come up with an expression which used natural numbers lower then 5 only, but I may be missing something...

15
Math and Science / Re: Interval arithmetic questions
« on: August 07, 2011, 02:56:31 pm »
to rephrase the t0xic_kitt3ns statement: there is no empty intervall, {} is the empty set, and therefore can not be added to an intervall.

Pages: [1] 2